Hi! Could we please enable some services and cookies to improve your experience and our website?

SQLize | PHPize | SQLtest

Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code

A A A
Login    Share code      Blog   FAQ
Copy Format Clear
--create database xs1 create table xsda ( Id int not null, Sname varchar (64), Age int, Gendaer char (4), Mark float ); insert into xsda values (242701,'张2',18,'男',80), (242702,'张1',15,'女',99), (242703,'张5',19,'男',100), (242704,'张3',17,'男',70), (242706,'张4',15,'男',90); select* from xsda; create view v_xsda as select * from xsda where < 16 go select * from xsda create unique nonclustered index ind_id on xsda (Id,Sname)

Stuck with a problem? Got Error? Ask AI support!

Copy Clear