Thả tập tin vào đây

SQL upload ( 0 ) x -

Cài đặt liên quan đến trang Bấm vào thanh để cuộn lên đỉnh trang
Nhấn Ctrl+Enter để thực thi truy vấn Nhấn Enter để thực thi truy vấn
tăng dần
giảm dần
Thứ tự:
Gỡ rối SQL
Số lượng
Thứ tự thực thi
Thời gian cần
Xếp theo:
Nhóm truy vấn
Bỏ nhóm các truy vấn
Co lại Mở rộng Hiện theo dõi Ẩn theo dõi Số lượng : Thời gian cần :
Đánh dấu
Làm tươi lại
Thêm
Không có đánh dấu nào
Thêm đánh dấu
Tùy chọn
Đặt lại thành mặc định





Co lại Mở rộng Truy vấn lại Sửa Giải thích Hồ sơ Đánh dấu Truy vấn bị lỗi Cơ sở dữ liệu : Thời gian truy vấn :
Chế độ duyệt
Chế độ duyệt tùy ý.
Chế độ duyệt
Tài liệu Dùng biểu tượng, chỉ có chữ hay cả hai Phục hồi lại giá trị mặc định
Tài liệu Dùng biểu tượng, chỉ có chữ hay cả hai Phục hồi lại giá trị mặc định
Tài liệu Một người dùng có nên hiển thị một nút "hiện tất (các dòng)" hay không. Phục hồi lại giá trị mặc định
Tài liệu Số dòng được hiển thị khi duyệt một tập kết quả. Nếu tập kết quả chứa nhiều hơn một dòng, liên kết "Kế trước" và "Kế tiếp" sẽ được hiển thị. Phục hồi lại giá trị mặc định
Tài liệu SMART - vd thứ tự giảm dần cho cột kiểu TIME, DATE, DATETIME and TIMESTAMP, tăng dần cho các kiểu còn lại. Phục hồi lại giá trị mặc định
Tài liệu Tô sáng dòng mà nó được con trỏ chuột chỉ đến. Phục hồi lại giá trị mặc định
Tài liệu Tô sáng các dòng đã chọn. Phục hồi lại giá trị mặc định
Tài liệu Phục hồi lại giá trị mặc định
Tài liệu Phục hồi lại giá trị mặc định
Tài liệu Lặp lại đầu đề mỗi X ô, 0 để tắt tính năng này. Phục hồi lại giá trị mặc định
Tài liệu Số lượng tối đa các ký tự hiển thị trong cột không-phải-số trong bộ trình bày duyệt. Phục hồi lại giá trị mặc định
Tài liệu Có các liên kết Sửa, Chép và Xóa. Phục hồi lại giá trị mặc định
Tài liệu Có hiển thị các liên kết hàng ngay cả trong trường hợp thiếu vắng khóa duy nhất. Phục hồi lại giá trị mặc định
Tài liệu Thứ tự sắp xếp mặc định cho bảng với một khóa chính. Phục hồi lại giá trị mặc định
Tài liệu Khi duyệt các bảng, việc sắp xếp của từng bảng được ghi nhớ. Phục hồi lại giá trị mặc định
Tài liệu Cho các tùy chọn hiển thị Phục hồi lại giá trị mặc định
SELECT * FROM `COLUMNS` ORDER BY `PRIVILEGES` DESC 
TABLE_CATALOG TABLE_SCHEMA TABLE_NAME COLUMN_NAME ORDINAL_POSITION COLUMN_DEFAULT IS_NULLABLE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME COLUMN_TYPE COLUMN_KEY EXTRA PRIVILEGES Giảm dần Tăng dần 1 COLUMN_COMMENT IS_GENERATED GENERATION_EXPRESSION
def agrexport_logistics ai_events id 1 NULL NO bigint NULL NULL 19 0 NULL NULL NULL bigint(20) PRI auto_increment select,insert,update,references NEVER NULL
def agrexport_logistics ai_events vehicle_event_id 2 NULL YES bigint NULL NULL 19 0 NULL NULL NULL bigint(20) MUL select,insert,update,references NEVER NULL
def agrexport_logistics ai_events camera_code 3 NULL YES varchar 30 120 NULL NULL NULL utf8mb4 utf8mb4_unicode_ci varchar(30) select,insert,update,references NEVER NULL
def agrexport_logistics ai_events event_type 4 NULL NO varchar 80 320 NULL NULL NULL utf8mb4 utf8mb4_unicode_ci varchar(80) select,insert,update,references NEVER NULL
def agrexport_logistics ai_events confidence 5 NULL YES decimal NULL NULL 6 4 NULL NULL NULL decimal(6,4) select,insert,update,references NEVER NULL
def agrexport_logistics ai_events message 6 NULL YES varchar 500 2000 NULL NULL NULL utf8mb4 utf8mb4_unicode_ci varchar(500) select,insert,update,references NEVER NULL
def agrexport_logistics ai_events image_path 7 NULL YES varchar 500 2000 NULL NULL NULL utf8mb4 utf8mb4_unicode_ci varchar(500) select,insert,update,references NEVER NULL
def agrexport_logistics ai_events created_at 8 current_timestamp() NO datetime NULL NULL NULL NULL 0 NULL NULL datetime MUL select,insert,update,references NEVER NULL
def agrexport_logistics alerts id 1 NULL NO bigint NULL NULL 19 0 NULL NULL NULL bigint(20) PRI auto_increment select,insert,update,references NEVER NULL
def agrexport_logistics alerts level 2 'INFO' NO varchar 20 80 NULL NULL NULL utf8mb4 utf8mb4_unicode_ci varchar(20) select,insert,update,references NEVER NULL
def agrexport_logistics alerts title 3 NULL NO varchar 200 800 NULL NULL NULL utf8mb4 utf8mb4_unicode_ci varchar(200) select,insert,update,references NEVER NULL
def agrexport_logistics alerts message 4 NULL YES text 65535 65535 NULL NULL NULL utf8mb4 utf8mb4_unicode_ci text select,insert,update,references NEVER NULL
def agrexport_logistics alerts acknowledged 5 0 NO tinyint NULL NULL 3 0 NULL NULL NULL tinyint(1) select,insert,update,references NEVER NULL
def agrexport_logistics alerts created_at 6 current_timestamp() NO datetime NULL NULL NULL NULL 0 NULL NULL datetime select,insert,update,references NEVER NULL
def agrexport_logistics camera_devices id 1 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) PRI auto_increment select,insert,update,references NEVER NULL
def agrexport_logistics camera_devices name 2 NULL NO varchar 100 400 NULL NULL NULL utf8mb4 utf8mb4_unicode_ci varchar(100) select,insert,update,references NEVER NULL
def agrexport_logistics camera_devices camera_code 3 NULL NO varchar 20 80 NULL NULL NULL utf8mb4 utf8mb4_unicode_ci varchar(20) UNI select,insert,update,references NEVER NULL
def agrexport_logistics camera_devices rtsp_url 4 NULL YES varchar 1000 4000 NULL NULL NULL utf8mb4 utf8mb4_unicode_ci varchar(1000) select,insert,update,references NEVER NULL
def agrexport_logistics camera_devices active 5 1 NO tinyint NULL NULL 3 0 NULL NULL NULL tinyint(1) select,insert,update,references NEVER NULL
def agrexport_logistics camera_devices last_seen 6 NULL YES datetime NULL NULL NULL NULL 0 NULL NULL datetime select,insert,update,references NEVER NULL
def agrexport_logistics camera_devices status 7 'OFFLINE' NO varchar 30 120 NULL NULL NULL utf8mb4 utf8mb4_unicode_ci varchar(30) select,insert,update,references NEVER NULL
def agrexport_logistics scale_events id 1 NULL NO bigint NULL NULL 19 0 NULL NULL NULL bigint(20) PRI auto_increment select,insert,update,references NEVER NULL
def agrexport_logistics scale_events vehicle_event_id 2 NULL YES bigint NULL NULL 19 0 NULL NULL NULL bigint(20) MUL select,insert,update,references NEVER NULL
def agrexport_logistics scale_events weighing_no 3 NULL NO tinyint NULL NULL 3 0 NULL NULL NULL tinyint(4) select,insert,update,references NEVER NULL
def agrexport_logistics scale_events weight_kg 4 NULL NO decimal NULL NULL 12 2 NULL NULL NULL decimal(12,2) select,insert,update,references NEVER NULL
Kết quả truy vấn các thao tác Chép vào clipboard Chép vào clipboard Xuất Xuất Hiển thị biểu đồ Hiển thị biểu đồ Tạo view Tạo view
Đánh dấu truy vấn SQL này Đánh dấu truy vấn SQL này