We have used a query to extract rows of data from the table peoplestats.
tablename: peoplestats
3 columns: name,age,gender
query: any male called john between age 15 and 30
typical result returned from query:
john 20 male
I now want to use the extracted data 'john' from the column 'name' and place into a variable. I then want to search a second table for any data that exactly equals this variable.
Can anyone advise?
tablename: peoplestats
3 columns: name,age,gender
query: any male called john between age 15 and 30
typical result returned from query:
john 20 male
I now want to use the extracted data 'john' from the column 'name' and place into a variable. I then want to search a second table for any data that exactly equals this variable.
Can anyone advise?