Search
 
SCRIPT & CODE EXAMPLE
 

SQL

sql table intermédiaire

SELECT CLI_NOM, TEL_NUMERO
FROM T_CLIENT, T_TELEPHONE
WHERE T_CLIENT.CLI_ID = T_TELEPHONE.CLI_ID
Comment

sql table intermédiaire

CLI_NOM   TEL_NUMERO
-------   --------------
DUPONT    01-45-42-56-63
DUPONT    01-44-28-52-52
DUPONT    01-44-28-52-50
BOUVIER   06-11-86-78-89
DUBOIS    02-41-58-89-52
DREYFUS   01-51-58-52-50
DUHAMEL   01-54-11-43-21
BOUVIER   06-55-41-42-95
MARTIN    01-48-98-92-21
MARTIN    01-44-22-56-21
...
Comment

sql table intermédiaire

SELECT CLI_NOM, TEL_NUMERO
FROM T_CLIENT C, T_TELEPHONE T
WHERE C.CLI_ID = T.CLI_ID
Comment

sql table intermédiaire

SELECT C.CLI_ID, C.CLI_NOM, T.TEL_NUMERO
FROM T_CLIENT C, T_TELEPHONE T
WHERE C.CLI_ID = T.CLI_ID
  AND T.TYP_CODE = 'FAX'
Comment

sql table intermédiaire

SELECT CLI_NOM, TEL_NUMERO
FROM   T_CLIENT C 
       INNER JOIN T_TELEPHONE T
             ON C.CLI_ID = T.CLI_ID
WHERE  TYP_CODE = 'FAX'
Comment

PREVIOUS NEXT
Code Example
Sql :: postgresql custom order by 
Sql :: transaction in java mysql 
Sql :: SQLSTATE[HY000] [1298] Unknown or incorrect time zone 
Sql :: #configuration database using PostgreSQL in ubuntu 
Sql :: intellij idea add mysql connector 
Sql :: set mysql 
Sql :: restart sequence table mysql 
Sql :: oracle APEX elapsed time 
Sql :: sql interview query questions 
Sql :: having all mysql 
Sql :: current month mysql query 
Sql :: plsql to generate all combinations of specified number of characters in string 
Sql :: call object contructor and call methods of object 
Sql :: select from diffrent tables 
Sql :: psql create usr 
Sql :: pl sql constraint user function 
Sql :: Pattern Sql Rlike same as REGEXP 
Sql :: first row in deluge 
Sql :: xampp table doesn 
Sql :: c# sql transaction multiple connections 
Sql :: postgresql regular expression special characters 
Sql :: set Mamp mysql globally 
Sql :: sql view postgresql 
Sql :: SQL Remove Primary Key Constraint - SQL Server, Oracle 
Sql :: join 
Sql :: mariadb datetime change to microseconds 
Sql :: OFFSET consulta mysql 
Sql :: SQL Copy Records Matching a Condition 
Sql :: sql datediff db2 
Sql :: how to fetch first 10 rows in sql 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =