Selecting data from multiple tables

From: Date: Sat, 27 Sep 2003 13:57:53 +0000
Subject: Selecting data from multiple tables
Groups: php.db 
Request: Send a blank email to php-db+get-30735@lists.php.net to get a copy of this message
I have three tables as shown below: tbl1 --------------- user_id username password .............. .............. tbl2 -------------- user_id age (date) tbl3 ----------- user_id town country How can i construct sql query for example to select data from all three tables where age is 30 and country is United Kingdom? Many Thanks in Advance. AH

« previous php.db (#30735) next »