SQL extraction reads data from a relational database with a query. You select the necessary columns, filter at the source, use parameterized queries (never text concatenation) and avoid overloading the production database, for example by reading from a replica or outside peak hours.
Example
df = pd.read_sql("SELECT id, montant FROM commandes WHERE date >= %s", conn, params=[debut])