Select From Two Tables   
 

If you have two tables you need to query try this example...

<%
Select
table1.col1, table1.col2, table2.column1, table2.column2
From table1, table2
Where table1.col1 = table2.column1
%>


or you can do this...

<%
Select table1.col1, table1.col2, table2.column1, table2.column2
From table1
Join table2 on table2.column1 = table1.col1
Where ...
%>


My3C's
perrychicker
It's easy... it's a PSACAKE!
Back | Tell A Friend | Search this Site
© 1998 - 2010 psacake.com
Version 3.23

Send me One Million FREE Guaranteed Visitors