.mode csv table_name
.import file_name.csv table_name

sqlite3 -header -csv /Library/WebServer/Documents/forsale.db  < /Library/WebServer/Documents/fmp_out.csv
#exec("sqlite3 yourdb.sqlite < import.sql")
#sqlite3 -header -csv forsale.db "select * from forsale;"

