logo

Crowdly

Browser

Add to Chrome

Questions Bank (1607857 total)

Таблиця courses (id, викладач, тип курсу, дата початку, кількість місць, статус, дата іспиту (NULL — не призначено), години консультацій (NULL — не передбачено))

idteacher_idtypestart_datecapacitystatusexam_dateconsult_hours
3011обов'язковий2024-09-0260відкритийNULLNULL
3021вибірковий2024-09-0925закритийNULLNULL
3032обов'язковий2024-09-0240відкритий2024-12-2010
3042факультатив2024-09-1620скасований2024-12-18NULL
3053вибірковий2024-09-0930відкритийNULLNULL
3063факультатив2024-10-0115закритий2024-12-23NULL
3074обов'язковий2024-09-1650скасованийNULLNULL
3084вибірковий2024-09-2335відкритий2024-12-196
3091факультатив2024-10-0720відкритийNULLNULL

Скільки курсів із призначеною датою іспиту веде кожен викладач і скільки годин консультацій за ними передбачено загалом?

Скасовані курси не враховуються.

Результат: teacher_id, courses_count, total_consult_hours

View this question

Для явного винесення невизначених значень на початок списку сортування ORDER BY використовується директива NULLS Відповідь Питання 3.

View this question

У реляційній теорії математичним аналогом рядка таблиці є Відповідь Питання 3, а аналогом стовпця — атрибут.

View this question

Стандартний тип даних для зберігання календарної дати без часу (наприклад, дати народження) — Відповідь Питання 4.

View this question

Для посилання стовпця на первинний ключ іншої (батьківської) таблиці використовується ключове слово Відповідь Питання 3.

View this question
A group called All of Us plans and carries out an attack on a government office by detonating an explosive device at night. Although no one is killed, significant damage is caused to the building. The group states that the purpose of the attack was to intimidate the public and force the government to change its policies on land reform. Which of the following is the most accurate legal position in terms of the Protection of Constitutional Democracy against Terrorist and Related Activities Act 33 of 2004?
100%
0%
0%
0%
View this question
Kabelo, a 15-year-old boy, and Thandi, a 17-year-old girl, are in a romantic relationship. One afternoon, while alone together, they engage in sexual intercourse. Thandi later states that although she did not explicitly resist, she felt pressured by Kabelo’s persistence and believed she had little choice but to go along with it. Kabelo, on the other hand, maintains that Thandi participated willingly and that he believed she consented to the encounter. The State considers whether Kabelo can be charged with rape under the Criminal Law (Sexual Offences and Related Matters) Amendment Act 32 of 2007. Can Kabelo be charged?
0%
100%
0%
0%
View this question

Яка головна особливість корельованого підзапиту ?

✅
❌
❌
❌
View this question

Чим віконна функція відрізняється від агрегатної функції з GROUP BY?

0%
0%
100%
0%
View this question

Для явного перетворення значення одного типу даних в інший у стандарті SQL використовується функція ____.

View this question