.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Sharon Maxwell

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

SQL 2005, Pull data from 3 tables Query doubt

Posted By: pooja     Posted Date: June 04, 2010    Points:2   Category :ASP.Net
i have 3 tables

I want to select data from three tables in such a way that 2 columns from Table1 4 columns from Table2 and 5 Columns from Table 3must be displayed in Aspx page..

please tell me the query soon

thanks in advance

Author: BangaruBabuPureti             
Posted Date: June 04, 2010     Points: 5   


First Clear Me If They are Normalized or not

Give the Table Structure.

BangaruBabu Pureti
Author: Sunil Yadav       [Moderator]      
Posted Date: June 04, 2010     Points: 5   

I agree with BangaruBabuPureti because if the data in not normalized then it will give unstructered output.So firstly you should clear your table structure.

Author: JH             
Posted Date: June 05, 2010     Points: 5   


You can do onething just create a VIEW for three table. View basically customize more than table.

like you can select necessary column from different table with some join condition(as per your business

requirement) and create a VIEW.

Can you try VIEW creation..?


Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend