Access-o-Mania

Access-Forum (Deutsch/German) => Access-Hilfe => Thema gestartet von: sathsaj am Mai 07, 2019, 16:37:32

Titel: Query Frage
Beitrag von: sathsaj am Mai 07, 2019, 16:37:32
Column A
1-10 Years
Sonya
Gabriel
Markus
10-30 Years
Oliver
Tanya

I need a query where I can extract Only Sonya,Gabriel and Markus from Column A in access.
Titel: Re: Query Frage
Beitrag von: Beaker s.a. am Mai 07, 2019, 16:48:41
SELECT [Column A]
FROM YourTable
WHERE [Column A] = 'Sonya'
   OR [Column A] = 'Gabriel'
   OR [Column A] = 'Markus'

Titel: Re: Query Frage
Beitrag von: sathsaj am Mai 07, 2019, 16:55:27
The names will keep changing I need something in access where data can be extracted between 1-10 Years and 10-30 Years
Titel: Re: Query Frage
Beitrag von: MzKlMu am Mai 07, 2019, 17:21:43
Hello,
You should also write what you need.
If the table is really as shown, it is not usable for Access.

Please describe the structure of the table exactly.
Titel: Re: Query Frage
Beitrag von: sathsaj am Mai 07, 2019, 17:37:51
the table is like this
I need the results as below.
Sonya 1-10 Years
Gabriel 1-10 Years
Markus 1-10 Years
Titel: Re: Query Frage
Beitrag von: MzKlMu am Mai 07, 2019, 19:38:27
Hello,
with the structure of the table shown, this is not possible.