Without giving you the answer (because you need to do some work yourself), this should gvie you a starting point.
SELECT * FROM GuestInfo
WHERE ArrivalDate >= (Today's date - your definition of 9 months before today)
More Related Contents:
- Selecting multiple columns in a Pandas dataframe
- sqlite3.ProgrammingError: Incorrect number of bindings supplied. The current statement uses 1, and there are 74 supplied
- No module named _sqlite3
- Sqlite / SQLAlchemy: how to enforce Foreign Keys?
- Force Python to forego native sqlite3 and use the (installed) latest sqlite3 version
- Django: Deploying an application on Heroku with sqlite3 as the database
- How to load existing db file to memory in Python sqlite3?
- Sqlite insert query not working with python?
- Python SQLite parameter substitution with wildcards in LIKE
- Inserting a table name into a query gives sqlite3.OperationalError: near “?”: syntax error
- How can I get dict from sqlite query?
- Using a WHERE ___ IN ___ statement
- parameter unsupported when inserting int in sqlite
- How to read datetime back from sqlite as a datetime instead of string in Python?
- Python sqlite3 string variable in execute
- Why is SQLAlchemy insert with sqlite 25 times slower than using sqlite3 directly?
- SQLite parameter substitution and quotes
- Python SQLite: database is locked
- Bulk insert huge data into SQLite using Python
- How to discover table properties from SQLAlchemy mapped object
- String similarity with Python + Sqlite (Levenshtein distance / edit distance)
- Auto Increment on Composite Primary Key – Sqlite3 + Python
- sqlite3.OperationalError: unable to open database file
- Being that string substitution is frowned upon with forming SQL queries, how do you assign the table name dynamically?
- How to upgrade sqlite 3.8.2 to >= 3.8.3
- creating a database outside the application context
- Convert JSON to SQLite in Python – How to map json keys to database columns properly?
- Passing SQLite variables in Python
- Python sqlite3 parameterized drop table
- Python sqlite3.OperationalError: no such table: