forked from mirror/go-sqlite3
retab
This commit is contained in:
parent
2cd93c9677
commit
bc6241221c
|
@ -24,12 +24,12 @@ func main() {
|
||||||
defer db.Close()
|
defer db.Close()
|
||||||
|
|
||||||
sqlStmt := `
|
sqlStmt := `
|
||||||
create table iris (
|
create table iris (
|
||||||
sepal_length float,
|
sepal_length float,
|
||||||
sepal_width float,
|
sepal_width float,
|
||||||
petal_length float,
|
petal_length float,
|
||||||
petal_width float,
|
petal_width float,
|
||||||
class int);
|
class int);
|
||||||
`
|
`
|
||||||
_, err = db.Exec(sqlStmt)
|
_, err = db.Exec(sqlStmt)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue