
TIN HỌC HK2
Authored by Nghi Phương
Other
10th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh SQL nào dùng để tạo CSDL?
create database
create table
alter table
update database
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
CSDL coffee_shop gồm bao nhiêu quan hệ?
3
4
2
6
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bảng menu gồm bao nhiêu thuộc tính?
7
2
5
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khóa chính của bảng invoice là gì?
invoice_id
invoice_date
customer_id
item_id
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tạo bảng customers chứa dữ liệu của khách hàng, câu lệnh SQL được viết như thế nào?
alter table customers (
… );
alter table `customers` (
… );
create table customers (
… );
create table `customers` (
… );
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khai báo thuộc tính customer_id là khóa chính có 6 ký tự, câu lệnh SQL được viết như thế nào?
create table `customers` ( `customer_id` char(6) primary key,… );
create table customers ( `customer_id` char(6) primary key,… );
create table `customers` ( `customer_id` char primary key,… );
create table `customers` ( customer_id char(6) primary key,… );
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
`item_id` char(3) primary key,
`item_name` varchar(100),
`item_type` char(7),
`price` int unsigned,
`real_name` varchar(100)
Theo khai báo trên, thuộc tính price có kiểu dữ liệu là gì?
số nguyên không âm
chuỗi kí tự
số nguyên
chuỗi kí tự có số
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?