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


Top 5 Contributors of the Month
david stephan

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
HI
i have 3 tables
Table1
Table2
Table3

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

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

hi

First Clear Me If They are Normalized or not

Give the Table Structure.


BangaruBabu Pureti
http://bangarubabupureti.spaces.live.com/
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   

Hi,

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..?

Thanks





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
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

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