Jump to content

How Do I Get Two Querys To One


ckrudelux
 Share

Recommended Posts

Use the SQL join function, you need to specify a column you are going to use to bind the two tables.see more info here:http://www.w3schools.com/sql/sql_join.aspAlso specify the results order with 'order by' then you get it to display in whatever order you want.

Link to comment
Share on other sites

Use the SQL join function, you need to specify a column you are going to use to bind the two tables.see more info here:http://www.w3schools.com/sql/sql_join.aspAlso specify the results order with 'order by' then you get it to display in whatever order you want.
Okay but that is just geting data compared between to tables I want to get all the data from the one table1 and table2 and have them showed as order by time/date so instead of doing two selects geting 30 rows from table1 and after table1 comes 30 rows from table2.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...