Relative Content

Tag Archive for sql-serverjoin

Adding 1 column from another table with multiple lines

I have a SQL Server table that includes invoices and another table that includes the lines of the invoices. I’m trying to grab in the lines ones a Price amount on the line to add to my query. my data looks like this (simplified as there is tens of columns in each table and thousands of lines)

Adding 1 field from another table with multiple lines

I have a SQL table that includes invoices and another table that includes the lines of the invoices. i’m trying to grab in the lines ones a Price amount on the line to add to my query. my data looks like this (simplified as there is tens of fields in each table and thousands of lines)