အဆင့် 5.1 SQL လေ့ကျင့်ခန်းများ

ဇယားများ ပေးထားသည်။

authors
id first_name last_name date_of_birth
1 John Smith 1987-12-12
2 Alex Cooper 1999-02-20
3 Agata Leyla 1970-01-30
4 Ivan Ivanov 1994-05-31
5 Peter Petrov 1991-08-24
posts
id title body author_id
1 Post-1 Lorem ipsum dolor sit amet, consectetur adipiscing elit. 1
2 Post-2 Duis aute irure dolor in reprehenderit in voluptate. 2
3 Post-3 Sed ut perspiciatis, unde omnis iste natus error. 2
4 Post-4 Ut enim ad minima veniam, quis nostrum. 1
5 Post-5 Quis autem vel eum iure reprehenderit. 3
6 Post-6 Et harum quidem rerum facilis est et expedita. 3
7 Post-7 Excepteur sint occaecat cupidatat. 1
8 Post-8 Ullam corporis suscipit laboriosam, nisi ut aliquid. 1

အောက်ပါပြဿနာများအတွက် ၎င်းတို့ကို ဖြေရှင်းပါ။

Задание 1

စာရေးဆရာများ နှင့် ၎င်းတို့၏ ပို့စ်များစာရင်းကို ရယူပါ။

Задание 2

ပထမ ပို့စ် 5 ခုအတွက် စာရေးဆရာများနှင့် ၎င်းတို့၏ ပို့စ်များစာရင်းကို ရယူပါ။

Задание 3

posts ဇယားမှ author_id အကွက်ကို အသုံးပြု၍ စာရေးဆရာများ၏ အမည်များနှင့် မွေးနှစ်ကို ရယူပါ။

Задание 4

စာရေးဆရာများ၏ အမည်များနှင့် ၎င်းတို့၏ ပို့စ်များကို ရယူပါ။ ထို့အပြင် စာရေးဆရာ၏ မှတ်ပုံတင်နံပါတ်သည် 4 ထက် မပိုရပါ။

Задание 5

နောက်ဆုံးပို့စ်အတွက် ပို့စ်၏ ခေါင်းစဉ်နှင့် စာရေးဆရာ၏ အမည်ကို ရယူပါ။

Задание 6

ပို့စ်၏ ခေါင်းစဉ်၊ စာရေးဆရာ၏ အမည်နှင့် မွေးနှစ်ကို ရယူပါ။ စာရေးဆရာသည် အသက် 30 နှစ်ထက် ကြီးရမည်။