SQL Queries, Dosimetry and Rational Numbers

Study sheet excerpt

Course Outline

  1. User Search Queries in SQL
  2. Patient Dosimetry Calculations
  3. GCD, LCM and Powers
  4. Fractions and Simplification
  5. Rational Number Objectives

1. User Search Queries in SQL

★ Must-know

  • To find users missing from the latest report, select users whose UserID is not in the report having the maximum ReportDate.

  • To find currently active users, select UserID and UserName from Users where UserStatus equals 'Active'.

  • To find users with a specific role, select UserID, UserName and UserRole where UserRole is in 'Administrator', 'Manager' or 'Analyst'.

Further detail

  • To find users who joined in the current year, select users where YEAR(JoinDate) equals YEAR(CURDATE()).

  • To find users without an assigned department, select users where DepartmentID IS NULL.

  • To find users with a salary greater than 50000, select UserID, UserName and Salary where Salary > 50000.

Memory Hook

Filter by report, status, role, year, department, then salary

2. Patient Dosimetry Calculations

★ Must-know

  • The mean dose of the whole lesion is 55.6 Gy.

📐 Formula — The dose delivered during a 4-to-7-minute session is calculated as 5.556×2=11.11 Gy5.556 \times 2 = 11.11\ \text{Gy}, so the dose per session is 11.11 Gy.

Further detail

Read the full sheet →

Quiz preview

1. Which SQL condition identifies users who are missing from the most recent report?

2. Which SQL query condition finds users who are currently active?

3. Which SQL filter finds users whose role is Administrator, Manager, or Analyst?

Take the quiz (13 questions) →

Flashcards preview

How to find users missing from the latest report in SQL?

Select users whose UserID is not in the report with the maximum ReportDate.

How to find currently active users in SQL?

Select UserID and UserName from Users where UserStatus equals 'Active'.

How to find users with specific roles in SQL?

Select UserID, UserName and UserRole where UserRole is in 'Administrator', 'Manager' or 'Analyst'.

How to find users who joined in the current year in SQL?

Select users where YEAR(JoinDate) equals YEAR(CURDATE()).

How to find users without an assigned department in SQL?

Select users where DepartmentID IS NULL.

How to find users with salary greater than 50000 in SQL?

Select UserID, UserName and Salary where Salary > 50000.

See all 26 flashcards →

Frequently asked questions

What does the study sheet on SQL Queries, Dosimetry and Rational Numbers cover?

The study sheet covers the essential concepts of SQL Queries, Dosimetry and Rational Numbers. It is organized by topic to facilitate learning and memorization, with key definitions, explanations and summaries.

Read the full sheet →

How many questions are in the SQL Queries, Dosimetry and Rational Numbers quiz?

The quiz contains 13 multiple-choice questions with detailed corrections and explanations for each answer. Ideal for testing your knowledge and identifying gaps.

Take the quiz (13 questions) →

How to study SQL Queries, Dosimetry and Rational Numbers with flashcards?

Revizly offers 26 interactive flashcards on SQL Queries, Dosimetry and Rational Numbers. Each card presents a question on the front and the answer on the back, enabling active, effective studying based on spaced repetition.

See all 26 flashcards →

Similar courses

Create your own sheets from your courses

Import your PDF or paste your course, AI generates sheets, quizzes and flashcards in 30 seconds.