dbs
titterid
mysql --defaults-extra-file=my.cnfmy
ALTER USER 'root'@'localhost' IDENTIFIED BY 'your_new_password';my
sudo mysql_secure_installation; sudo mysqlmy
update pla set boo=1, dat=?, tx=? where adr=?update
catch(e){i.cl(e.message)}er
datetime('now', 'localtime');date
.mode csvsqlite
null value:select rowid from linux where type is null;sql
.mode list .import res/mer.sql mersqlite
.mode list - values delimited by "|"sqlite
SELECT date('now','start of year','+9 months','weekday 2'); date
123abc - invalidsqlite
insert date loopinsert
date integer not null uniquedate
date modifiers - orders matterdate
SELECT date('now','start of month','+1 month','-1 day'); date
where rowid between 7 and 45between
select *,rowid from mer where sku not like (?) sqlite
sync > async ? - better-sqlite3lite
gcc test.c -l sqlite3sqlite
SELECT datetime('now', 'localtime');date
SELECT datetime('now','+9 hours'); date
.output res/pid.csv - export csvcsv
SELECT * FROM tbl ORDER BY id DESC LIMIT 1sqlite
IN = multiple values in WHEREsql
delete from pid where not rowid in (62,61);sql
delete from pid where NOT rowid=62;sql
const Sequelize = require('sequelize');sequelize
select rowid from tbl order by rowid desc;sqlite
insert obj -> use jsonsqlite
db.run('INSERT INTO pid (name, age) VALUES (?, ?)', [values['name'], values['age']]));sqlite
create table jol(num integer default 0 not null);sqlite
install mongomongo
select by idsqlite
create unique index title_index on node(title);sql
expected 11 columns of data but found 9 - csv import errorcsv
INNER JOIN tbljoin
SELECT distinct song__tv.title,song__tv.songselect
.dump tblsqlite
.separator , .mode csv .import csv/6.csv jascsv
char(10) - 10 charactersmysql
mysqldump -u root -p pass songdb > bk/songdb.sqlmysqldump
proper pdo mysqlmysql
DROP COLUMN column_namemysql
install mysqlmysql
mb db setupmb
postgres -D /usr/local/pgsql/datapostgres
mbslave installmb
insert into test values('a', 'b')sqlite
sqlite3.verbose()sqlite