Professional Documents
Culture Documents
Enter password:
ERROR:
ORA-01017: invalid username/password; logon denied
no rows selected
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
SQL> insert into client(codc,nomc,creditc,adressec)
values(1200,'rakia',400,'bizerte');
1 row created.
1 row created.
SQL> commit;
Commit complete.
no rows selected
CODC
----------
1000
1200
1210
1250
1360
1400
1580
7 rows selected.
(CODC||NOMC)
------------------------------------------------------------
1250mohamed
1360amine
1580sana
1210manel
1000mejd
1200rakia
1400fedia
7 rows selected.
(CODC||NOMC)
------------------------------------------------------------
1250mohamed
1360amine
1580sana
1210manel
1000mejd
1200rakia
1400fedia
7 rows selected.
(CODC||NOMC)
------------------------------------------------------------
1250mohamed
1360amine
1580sana
1210manel
1000mejd
1200rakia
1400fedia
7 rows selected.
(CODC||NOMC)
------------------------------------------------------------
1250mohamed
1360amine
1580sana
1210manel
1000mejd
1200rakia
1400fedia
7 rows selected.
(CODC||''||NOMC)
-------------------------------------------------------------
1250 mohamed
1360 amine
1580 sana
1210 manel
1000 mejd
1200 rakia
1400 fedia
7 rows selected.
ALIAS
-------------------------------------------------------------
1250 mohamed
1360 amine
1580 sana
1210 manel
1000 mejd
1200 rakia
1400 fedia
7 rows selected.
code et nom
-------------------------------------------------------------
1250 mohamed
1360 amine
1580 sana
1210 manel
1000 mejd
1200 rakia
1400 fedia
7 rows selected.
code et nom
-------------------------------------------------------------
1250 mohamed
1360 amine
1580 sana
1210 manel
1000 mejd
1200 rakia
1400 fedia
7 rows selected.
localisation
--------------------------------------------------------------------------------
mohamed habite a tunis
amine habite a tunis
sana habite a sousse
manel habite a kef
mejd habite a tunis
rakia habite a bizerte
fedia habite a sfax
7 rows selected.
(NOMC||'HABITEA'||ADRESSEC)
--------------------------------------------------------------------------------
mohamed habite a tunis
amine habite a tunis
sana habite a sousse
manel habite a kef
mejd habite a tunis
rakia habite a bizerte
fedia habite a sfax
7 rows selected.
localisation
--------------------------------------------------------------------------------
mohamed habite a tunis
amine habite a tunis
sana habite a sousse
manel habite a kef
mejd habite a tunis
rakia habite a bizerte
fedia habite a sfax
7 rows selected.
nom localisation
--------------------------------------------------------------------------------
mohamed habite a tunis
amine habite a tunis
sana habite a sousse
manel habite a kef
mejd habite a tunis
rakia habite a bizerte
fedia habite a sfax
7 rows selected.
nom localisation
--------------------------------------------------------------------------------
mohamed habite a tunis
amine habite a tunis
sana habite a sousse
manel habite a kef
mejd habite a tunis
rakia habite a bizerte
fedia habite a sfax
7 rows selected.
nom localisation
--------------------------------------------------------------------------------
mohamed habite a tunis
amine habite a tunis
sana habite a sousse
manel habite a kef
mejd habite a tunis
rakia habite a bizerte
fedia habite a sfax
7 rows selected.
SQL> select(nomc||' habite a '||adressec) " nom localisation" from client ;
nom localisation
--------------------------------------------------------------------------------
mohamed habite a tunis
amine habite a tunis
sana habite a sousse
manel habite a kef
mejd habite a tunis
rakia habite a bizerte
fedia habite a sfax
7 rows selected.
NOMC
--------------------
mohamed
NOMC ADRESSEC
-------------------- --------------------------------------------------
CODC
----------
mohamed tunis
1250
NOMC ADRESSEC
-------------------- --------------------------------------------------
mohamed tunis
amine tunis
mejd tunis
NOMC
--------------------
mohamed
amine
mejd
no rows selected
no rows selected
SQL> select nomc , adressec from client where nomc LIKE 'm%' ;
NOMC ADRESSEC
-------------------- --------------------------------------------------
mohamed tunis
manel kef
mejd tunis
SQL> select nomc , adressec from client where adressec LIKE 'a%' ;
no rows selected
SQL> select nomc , adressec from client where adressec LIKE '%a%' ;
NOMC ADRESSEC
-------------------- --------------------------------------------------
fedia sfax
SQL> select nomc , adressec from client where creditc>50 and creditc <250 ;
NOMC ADRESSEC
-------------------- --------------------------------------------------
mejd tunis
fedia sfax
SQL> select nomc , adressec ,creditc from client where creditc>50 and creditc
<250 ;
NOMC ADRESSEC
-------------------- --------------------------------------------------
CREDITC
----------
mejd tunis
150
fedia sfax
100
SQL> select nomc ,creditc from client where creditc>50 and creditc <250 ;
NOMC CREDITC
-------------------- ----------
mejd 150
fedia 100
SQL> select nomc ,creditc,adressec from client where creditc>50 and creditc <250 ;
NOMC CREDITC
-------------------- ----------
ADRESSEC
--------------------------------------------------
mejd 150
tunis
fedia 100
sfax
SQL> select nomc ,creditc from client where creditc>50 and creditc <250 ;
NOMC CREDITC
-------------------- ----------
mejd 150
fedia 100
SQL> select nomc ,creditc from client where creditc between 50 and 250 ;
NOMC CREDITC
-------------------- ----------
mohamed 50
sana 50
manel 250
mejd 150
fedia 100
NOMC CREDITC
-------------------- ----------
manel 250
mejd 150
fedia 100
NOMC CREDITC
-------------------- ----------
mohamed 50
sana 50
manel 250
mejd 150
SQL> select nomc ,creditc from client where creditc>50 and creditc <25 ;
no rows selected
7 rows selected.
NOMC
--------------------
sana
rakia
mohamed
mejd
manel
fedia
amine
7 rows selected.
NOMC
--------------------
amine
fedia
manel
mejd
mohamed
rakia
sana
7 rows selected.
SQL>
SQL>