MySQL Functions Quiz

MySQL Functions Quiz

10th Grade

10 Qs

quiz-placeholder

Similar activities

Software de código libre, gratuito, shareware y con licencia

Software de código libre, gratuito, shareware y con licencia

10th Grade

10 Qs

CUESTIONARIO SQL

CUESTIONARIO SQL

1st - 12th Grade

10 Qs

Excel Basics

Excel Basics

10th Grade

8 Qs

MODELOS Y MOTORES DE BASE DE DATOS

MODELOS Y MOTORES DE BASE DE DATOS

10th Grade

10 Qs

MYSQL

MYSQL

10th Grade

10 Qs

C++

C++

9th - 12th Grade

10 Qs

Pre-test: On Online searching by Innovative Teaching Ideas)

Pre-test: On Online searching by Innovative Teaching Ideas)

6th - 12th Grade

14 Qs

R6 3.TEC_BACK END_103 A0 114 Aplicações Java

R6 3.TEC_BACK END_103 A0 114 Aplicações Java

9th Grade - University

15 Qs

MySQL Functions Quiz

MySQL Functions Quiz

Assessment

Quiz

Instructional Technology

10th Grade

Medium

Created by

Zemmary Batucan

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do functions CURRENT_DATE() and CURDATE() return in MYSQL?

The current time

The current date

The current timestamp

The day of the week

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which MYSQL function returns the time at which it executes?

NOW()

CURTIME()

SYSDATE()

CURRENT_TIME()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the DAY(), MONTH(), and YEAR() functions in MYSQL?

To modify date values

To extract the day, month, and year from a date

To add days, months, and years to a date

To format a date

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the DATE_ADD() function do in MYSQL?

Adds a specified time interval to a date

Calculates the difference between two dates

Converts a string to a date

Extracts the date from a timestamp

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

DATEDIFF() in MySQL is used to:

Format a date

Add days to date

Find the difference in days between two dates

Convert a date to a different time zone

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the STR_TO_DATE() function in MySQL?

To format a date as a string

To add time to a date

To convert a string to a date

To extract the month from a date

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In MySQL, what is an application of DATE_FORMAT()?

Adding intervals to a date

Converting a date to a string in a specific format

Extracting the day of the week from a date

Calculating the difference in years between two dates

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?