How to retrieve data from more than one tables at the same time in sql | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

How to retrieve data from more than one tables at the same time in sql

Select values from two or more tables simultaneously in a single query

6th Jun 2018, 10:28 AM
Ambu
5 Antworten
+ 8
Use JOIN to combine multiple fields from several tables: https://www.sololearn.com/learn/SQL/1865/
6th Jun 2018, 11:30 AM
Ipang
+ 6
Rafey Iqbal Rahman those are called ”columns”. Table is the thing that contains those and usually comes after ”from” keyword.
6th Jun 2018, 3:38 PM
Toni Isotalo
Toni Isotalo - avatar
0
Suppose you have a CLIENTS SQL database with three tables FirstName, LastName, FatherName. You want to select the first two tables. This is done by: SELECT FirstName, LastName FROM clients; Note you can select multiple tables just by adding commas.
6th Jun 2018, 10:53 AM
Rafey Iqbal Rahman
Rafey Iqbal Rahman - avatar
0
Toni Isotalo those are called table columns.
6th Jun 2018, 3:40 PM
Rafey Iqbal Rahman
Rafey Iqbal Rahman - avatar
6th Jun 2018, 3:43 PM
Rafey Iqbal Rahman
Rafey Iqbal Rahman - avatar