Re: Primary Key?
| From: | LAST JEDI | Date: | Tue, 17 Oct 2000 19:16:16 +0000 |
| Subject: | Re: Primary Key? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-20690@lists.php.net to get a copy of this message | ||
select id_field_name from table_namer where employee = 'john'
--
----------
Greetings Jedi - http://lastjedi.org
"Wee Chua" <Chua@mail.interclean.com> wrote in message
news:0F9D3D919AADD211BE7E00A0C99B842009F1E2@mail.interclean.com...
> Hi all,
> How could I find out the value of the primary key of a field? What
function
> should I use? For example, I only know the field is John under Employee
> name, how could I find out the primary key of this record in Employee
table?
> Could anyone please help? Thanks in advance for any help!
>
> Calvin
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>