Jump to content

[SOLVED] select statement for two tables


cedtech23

Recommended Posts

how do I write a select statement that will get data from two tables

 

This is the tables structure

 

Patients

  id

  f_name

  l_name

  lang_id

 

Language

  id

  lang

 

I know that I can do "select f_name, l_name, lang_id" but I need the patients first name, last name and language. Not the lang_id

 

example output:

 

James Young English

Link to comment
https://forums.phpfreaks.com/topic/79780-solved-select-statement-for-two-tables/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.