# Parameterized Query

*noun*

say it: **“puh-RAM-ih-ter-yzd KWEER-ee”** **/pəˈræmɪtəraɪzd ˈkwɪəri/**

A query where values are sent separately as parameters like @id, instead of being pasted into the SQL text.

## What is **Parameterized Query** in a relational database?

**Parameterized Query** — A query keeping data values separate from SQL text through parameters.

```sql
SELECT customer_id, email
FROM customer
WHERE email = ?;
```

## In a sentence

- “A **parameterized query** sends the city as @City, so nothing the user types can change the SQL.”

Level: Journeyman · [More Database terms at this level](https://www.ask-codey.com/glossary?category=database&level=3)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/parameterized-query
