logo

Crowdly

Browser

Додати до Chrome

Questions Bank (1607132 total)

Таблиця registrations (id, курс, дата запису, кількість записаних студентів)

idcourse_idreg_datestudents
13012024-08-2030
23012024-08-2510
33012024-08-3025
43022024-08-2825
53032024-08-2212
63032024-08-2912
73042024-09-058
83052024-08-2110
93052024-08-265
103052024-09-0115
113062024-09-2015
123072024-08-2320
133072024-08-3022
143082024-09-1020
153092024-09-2512

Скільки записів і скільки студентів загалом записалося на кожен курс починаючи з 2024-08-25?

Залиште у вибірці тільки курси, на які за цей період записалося щонайменше 20 студентів.

Результат: course_id, registrations_count, total_students

На початку списку — курси з більшою кількістю записів; за однакової кількості записів вище курс, на який записалося більше студентів.

Переглянути це питання

Підзапит, який посилається на поля зовнішньої таблиці та повторно виконується для кожного рядка зовнішнього запиту, називається Відповідь Питання 4.

Переглянути це питання
X suffers from a severe illness which makes it impossible for him to submit an assignment timeously. X therefore goes to the consulting room of Y, a medical practitioner, and steals a page from Y’s notebook which Y uses to issue prescriptions to patients. X then writes a note on the page which states that he (X) suffers from a severe illness and should be granted an extension to submit his assignment. X then signs Y’s name at the bottom of the page. X thereafter hands this note to Z and asks Z to deliver this note to X’s lecturer. Z does this, well knowing that X himself wrote the note and not Y, the medical practitioner.
0%
0%
0%
100%
Переглянути це питання
Thabo asks his wife, Sophy, to keep a sealed package in their home while he is away on a business trip. Sophy is aware that the package contains illegal drugs but agrees to store it in a locked cupboard. She does not intend to use or sell the drugs and considers herself merely to be assisting her husband. Police later searched the house, discovered the drugs, and charged Sophy with unlawful possession under the Drugs and Drug Trafficking Act 140 of 1992. Is Sophy guilty of anything?
0%
100%
0%
0%
Переглянути це питання
Mr Khumalo is a municipal official responsible for issuing trading licences. Ms Naidoo applies for a licence and fully complies with all legal requirements, making her entitled to its approval. Mr Khumalo informs her that, unless she pays him R20 000, he will deliberately delay processing her application for several months, which would cause her significant financial loss. Fearing the negative consequences of such a delay, Ms Naidoo pays the amount. Could Mr Khumalo’s actions be construed as unlawful and if so, for what?
0%
0%
100%
0%
Переглянути це питання
X is driving a huge truck down the road when he sees his enemy, Y, walking next to the road. When X sees Y, X deliberately swerves towards Y in an attempt to run Y over. Luckily for Y, he jumps out of harm’s way just in time and the truck misses him.
0%
100%
0%
0%
Переглянути це питання

Таблиця 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

Скільки курсів і з якою загальною кількістю місць пропонується кожного типу, якщо враховувати лише курси, що починаються пізніше 2024-09-02?

До результату мають потрапити тільки ті типи, де сумарно більше 50 місць.

Результат: type, courses_count, total_capacity

Першими виводяться типи з більшою кількістю курсів; за однакової кількості — з більшою сумарною кількістю місць.

Переглянути це питання

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

idteam_idtechnologystart_datebudgetstatusend_datebonus
2011Java2024-01-1580000активнийNULLNULL
2021Python2024-02-1050000завершенийNULLNULL
2032Java2024-03-0140000активнийNULLNULL
2042JavaScript2024-03-2030000призупиненийNULLNULL
2053Python2024-02-0570000активний2024-12-205000
2063JavaScript2024-04-1045000завершений2024-09-30NULL
2074Python2024-05-0160000призупиненийNULLNULL
2084Go2024-06-1555000активнийNULLNULL
2091JavaScript2024-06-2025000активний2024-11-15NULL

Який найменший і найбільший бюджет мають незавершені проєкти кожної команди, для яких ще не визначено дату завершення?

Виведіть лише ті команди, у яких найменший бюджет таких проєктів становить щонайменше 40000.

Результат: team_id, min_budget, max_budget

Вище мають бути команди з більшим найбільшим бюджетом.

Переглянути це питання
X works as a security guard at an expensive jewellery store called “Millionaire’s Playground”. X decides to steal a diamond ring to sell privately. X takes the diamond ring from the display cabinet, deliberately drops it to the floor and hides it underneath a carpet in the store. X intends to retrieve the ring and to put it in his pocket before he goes home for the day. Before X can retrieve the ring and take it home, it is discovered by a cleaner underneath the carpet and returned to the display cabinet where it gets locked up safely.
100%
0%
0%
0%
Переглянути це питання
Thomas is employed as a driver by a known gang leader, Mr Mokoena. Mr Mokoena gives Thomas a firearm and instructs him to carry it at all times for protection and to use it if necessary when accompanying him. Thomas knows that the firearm is unlicensed and belongs to Mr Mokoena. On several occasions, Thomas carries the firearm in his jacket and, during an altercation, fires it to intimidate others. Thomas is later arrested and charged with the unlawful possession of a firearm in terms of the Firearms Control Act 60 of 2000. Which of the following best reflects the correct legal position in South African law?
0%
100%
0%
0%
Переглянути це питання