Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

selection on selection

Status
Not open for further replies.

patweb

Programmer
Apr 17, 2003
174
0
0
BE
Is its possible to run a query on another query ?

I have a table import filled with data from uploaded files.
On these data are several analyses queries running.

I would like to run these analyses queries not on the table import but on a query (select * from import where file_id = $file_id) which select out of this table the rows where the file ID is equal to the last uploaded file. If not he will select all the data from this import table.

 
Yes it is possible! Just and your query into the loop that is importing the data. Run the query after you run the import. Then it will go to the next import.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top