Notes
Notes - notes.io |
--Calisma1
select M.Marka from tblUrun U inner join tblMarka M on U.markaKod=M.markaKod where U.urunKod=3200
select M.Marka ,D.dovizAd from tblUrun U INNER JOIN tblMarka M on U.markaKod=M.markaKod INNER JOIN tblDoviz D on U.dovizKod=D.dovizKod where U.urunKod=3200
select U.urunAd,M.Marka,S.siparisTarih from (tblUrun U INNER JOIN tblMarka M on U.markaKod=M.markaKod) INNER JOIN (tblSiparisDetay SD INNER JOIN tblSiparis S on SD.faturaKod=S.faturaKod) on U.urunKod=Sd.urunKod where S.faturaKod=6
select K.isim,K.soyad from tblSiparis S INNER JOIN tblKullanici K on S.kullaniciKod=K.kullaniciKod where s.faturaKod=6
select SD.aciklama from tblSiparis S INNER JOIN tblSiparisDurum SD on S.siparisDurumKod=SD.siparisDurumKod where s.faturaKod=6
select M.meslek from tblSiparis S INNER JOIN tblKullanici K on S.kullaniciKod=K.kullaniciKod INNER JOIN tblMeslek M on K.meslekKod=M.meslekKod where S.faturaKod=6
select K.kullaniciAd,S.UrunKod,S.Adet from tblSepet S INNER JOIN tblKullanici K on S.kullaniciKod=K.kullaniciKod
--calisma 2
create database human_resources
create table personal( personalID int not null primary key identity(1,1), name nvarchar(20), lastname nvarchar(20), birthdate datetime, task nvarchar(50), salary money, startDateOfEmployment datetime, departmanID int) -- birden başlasın bir bir artsın,
insert into personal(name,lastname,birthdate,task,salary,startDateOfEmployment,departmanID) values('Ali','Can','1995-05-16','Muh',1500,GETDATE(),5)
update personal set salary=salary*1.10 where name='Ali'
--calisma 3
select markaKod , count(*) from tblUrun group by markaKod
select listeFiyat, count(*) from tblUrun where listeFiyat>50 and listeFiyat<100 group by listeFiyat
|
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team