0% found this document useful (0 votes)
3 views

SQL class 11

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

SQL class 11

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

W

Date 13 1 0 , 23

Cyeatl a databas ihuas

M q uate_doclabaus ba
bray
2. Opom datalas ihuouy
ny sqAy use b ay
3 MUy Oortabassk CLated

My$qY show dttahases -


C0ate a table Bocki au
ceatetahl baoks
AccNasts intci{ S)_imaxy ky,
z Ttk yarchay (30),
Auth03 varchaz (3o),
Puhbsheh vazcha C10)
edition mleyes u),_
Paice dei waL (t2

ha -tahlu aL_cLateo
w19Y show table
6 9 A utuue oh tablBok
wA1q desc Bsoks

Page No.
wu 07 1 abl bok odd coraoi
har(1)
DDy 0s publizw

akf tohl Buuk m


di publikhe
v0ichn)u (90)5
C
L 01umaMd
"T6 adnl. U d i in o abi
ab
My SRC iuvt imlo tludmt4 val (2
cddeAs', I5ovo)i
My 981. Solect om tudswt
Cdistuoct valus)
DD Utecd owly or shruatwu
DB/toh
Covwlt pimadiow o t4u
udatt d. to diky auL ueDTds D
ndiwiduol hdebvds.
Dultt ed to Tomow al
patmuial WCsrd. 0nm the takl
iv Drds by- rroee the wabds ut Tu
ke
dundung rt 0r dscondino 03d
Ai -

ed. to extrart CDds baued.


CUtaim patt
ial HOCDvds
My S8L iad ivto tud ect
vou 123/10', 'ABC', 98)
Mwtiple p d
4uAut ito sudmt valuu (2 912,
uz ) (143/ 10,pSR, IDD)
6 14 TKL' 16)
Date

0dd y
t itD udr 1dm ,
nlu (19/10')
widiplp. sds
Modi
whdat

fo Uujc
uhotte Budt d No="13/12";
(,W

Date 80 10,
D dilto taa
uuclcct oil u 6 96.

My 8&LY diltu uo udoct whi


DU=Q6
dolte all th awrds B urute
o tako TC

My SQL dat L ktudet Huhu


atus='Tc'
dulto all tu LOLoYde M he
tablu gtudomt_
My
M 80L dild al
om cudut;

DL
dUiblay al the Rouu Te takle
ttamdt.

>Sdt My S8L> Suluct * Iom tudut


Ao Tuxclevct Rol, name ma7K

My SqL Solut hame , mauks


sudbmt
PageNo.
ate-
aiplayall studout dunils vubs VB
qs maks.

S&L 8obr Om tudwt whw


wauks q

dilay
No ditpla gtudoutdotails h s ms
M to 100

cudeut whu
My SRL2 Selar _Lo
mouks >= gs_Omd._mamksK=1QD

udend uh
My &L Selbot_* Tom to 10D
waiki btwe 95 (to 0r amd

display stuudomt nam 2 mauks 0r


u do got 95 0 98.
Aderet e
ttuded Mlhes
Sult a:krom
2My 8L
wasks N (1S, 48)
Srtin data
romstudeuet
mdt hs
Tdth by
}My sQL Sulut *_
wouks

byduaut i t wull OTt


in cudiug dis.
OR
ttudovet Oxdx hy_
My SL Sot
Page No.
Z

Z E

S
feuit en Tel

e t i r t r tttust

o)uhdatt Aei

i ompli DCL 2 DL nim


tohis
DDL cNaM
w prcps ald DML sD
whravsts wed d i l e iabl
ayd dotokau.

vL 2 he tubl
6L wmn-

DCL
insiitiiL LLOdum
updnt wouks My sqL sho dtabauu:_
hi Ra wo 3 y stadtshas iiie
Cmwwmw
sly we

M y Lq Shtud tabls:
tablhecks GUdd
Diny cha 3) niauei

dsadd
wady eommamd

Pege No
9 23
attm Matci ne9
LIKE

(wwdLLOTE

wwdvueu 44 wuu b usedwe


wdching ingl UnoLn
Percdt):4t w b wed o
whpl
mxtchina
wwknU chonatu. O

1 To mit a
wu
omu o
'pP Atudt vef_uich
Slt
udont
ww

2opriut dll womA


as wu 's'. udet wich
Wom
ud ct whw
10pain
tudud which
3 chax
COtal

Select vme Atudntwhi


ame üke

dul Mes e Atudut ubich


contais R_Ct_eCond poHvM.

tud ent M
Sclect

nOA uke R
wamLs l studond wuchL
5 1 0pTM a DOsIHh
LgwtounslR
a uwwd Jast
tudu

MO ik
Atudt
all fe nam
R_Mubhul h i hOme
wuich Coutcina

'
ke R 1. o/R
chauacteu
- wildcard

You might also like