create_demo_db.sql
来自「PHP Excel Paser, 一个很好的」· SQL 代码 · 共 53 行
SQL
53 行
#######################################################
# Create sample database.
#
#######################################################
create database if not exists ParserSample;
#######################################################
# Select this database as default.
#
#######################################################
use ParserSample;
#######################################################
# Create sample table in database.
#
# Columns in Excel file will be interpreted
# as follows:
# 0 - Product name
# 1 - Product specification
# 2 - Product price
# 3 - Product retail price
# 4 - Product date
#
#
#######################################################
create table if not exists SampleData (
######
# Product name
name varchar(100),
######
# Product specification
specification varchar(255),
######
# Product price
price float,
######
# Product Date
date timestamp
);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?