🚀 November has started! SQLtest.online stays free thanks to donations from people like you. Help us reach this month's goal early so the site keeps running without interruptions. Support now →
SQL code copied to buffer
Task 148:

New Staff Record Entry

MySQL
A client COLLEEN BURTON was hired by the company in store 2 of Sakila. Enter his data into the staff table, taking the first name, last name, and address from the customer table. Make up work email address from first and last name separated by a dot and the company domain sakilastaff.com, use the first name in lower case as the staff username, enter the value  8cb2237d0679ca88db6464eac60da96345513964 in the password field
Expected result Columns: 9 · Rows: 3
staff_id first_name last_name address_id email store_id active username password

Write your query below and click "Check it!". Tables are described in the right pane.

Tutorial

By checking a query, you agree that it is stored without your account details and may be included in anonymized datasets, including for AI training. Learn more

The query result will appear here. Ctrl+Enter - Run query