I want to use mathematica to analyze some data of sqlite?
But i don’t know how to do that .
And I’m not sure whether mathematica support the data of sqlite.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Apparently, SQLite support is already available in Mathematica though it is undocumented. As such, proceed carefully!
Open a database with:
Then run SQL statements with:
That should be enough for you to get going. (You have to pull data into Mathematica from the database to analyze it; nothing can be done while it is just “at rest” on disk. If you’re doing complex analyses, it might be worth your while to put some of that in the SQL queries, especially if there are sensible indices set on the database.)