how to get the columns from multiple tables into a single qu
I m doing a online shopping website and in dat I want a page dat fetches the order history of a customer but problem is the order table do not contain customer id and i want the customer id should be selected from customers table should I use nested query...plz any suggestion?
Harpreet SinghPosted Mar 21, 2015, 3:33 AM
http://www.c-sharpcorner.com/UploadFile/219d4d/joins-in-sql-server/
Pankaj Kumar ChoudharyPosted Mar 21, 2015, 12:42 AM
for this you can use this method
select Table1.Col,Table2.Col, Table2.Col from Table1 cross join Table2
if i am wrong then Please you can clarify what type of O/P you require......