NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

Create Database emircan;

Create Table ogrenci_ders(

ad varchar(30),
soyad varchar(30),
okulno int,
bolum_kodu varchar(10),
vize int,
final int,
akts int,
ders_kodu int


);

insert into ogrenci_ders(ad,soyad,okulno,bolum_kodu,vize,final,akts,ders_kodu)
Values('Emircan','Gümüş',2008041007,'ybs',68,95,5,25),
('Yusuf','Okuyucu',2108041034,'ybs',69,90,5,25),
('Mustafa','Aldemir',2108041007,'obs',67,80,5,23),
('Emir','Karasu',2108041003,'ybs',65,85,5,25),
('Davut','Acar',2108041004,'obs',70,80,5,23),
('Özgür','Kusak',2108041004,'ybs',50,70,5,25),
('Ayşegül','Türkgücü',2108041004,'obs',75,85,5,23),
('Canan','Abay',2108041004,'obs',75,85,5,23),
('Elif','Ercel',2108041004,'obs',85,95,5,23),
('Dilan','Özek',2108041004,'obs',80,90,5,23);


SELECT AVG (final) AS FİNAL_ORTALAMA FROM ogrenci_ders WHERE ders_kodu=23

SELECT COUNT (*) AS MEVCUT_OLAN_OGRENCİ FROM ogrenci_ders WHERE ders_kodu=56

SELECT MAX (final) AS FİNAL_MAKSİMUM FROM ogrenci_ders WHERE ders_kodu=23

SELECT MIN (final) AS FİNAL_MİNİMUM FROM ogrenci_ders WHERE ders_kodu=23

SELECT SUM (akts) AS TOPLAM_AKTS FROM ogrenci_ders WHERE bolum_kodu='obs'

Select Count(*) as Gecen From ogrenci_ders Where final >= 50 AND vize >=60

Select Concat (ad,' ',soyad) as isim From ogrenci_ders where bolum_kodu = 'obs'

Select ad,soyad,LEFT(soyad,3) as isim from ogrenci_ders where ad LIKE 'E%'

Select REPLACE (soyad,'Okuyucu','OK') from ogrenci_ders

Select * From ogrenci_ders




select dateadd(year,18,'20060731');
select dateadd(month,6,'20060731');
select dateadd(day,18,'20060731');
select dateadd(hour,6,'20060731 01:00:00');
select dateadd(minute,18,'20060731 01:00:00');
select dateadd(second,6,'20060731 01:00:00');
select DateDiff(year,'20060731 10:20:00','20080703 14:10:30')
select DateDiff(MONTH,'20060731 10:20:00','20080703 14:10:30')
select DateDiff(day,'20060731 10:20:00','20080703 14:10:30')
select DateDiff(hour,'20060731 10:20:00','20080703 14:10:30')
select DateDiff(second,'20060731 10:20:00','20080703 14:10:30')
Select DATEFROMPARTS (2019,12,31)
Select day ('2019-12-31')
Select month ('20191231')
Select year ('20191231')
Select getdate()








     
 
what is notes.io
 

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

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.