Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Databases
»
help with an SQL - statement
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
I'm wondering, what kind ...
by
cdbc
[
Today
at 07:57:14 am]
File IO issues
by
paweld
[
Today
at 07:42:14 am]
efficiency problem
by
Thaddy
[
Today
at 07:15:44 am]
FPC 2.2.2 for classic Mac...
by
Thaddy
[
Today
at 07:13:48 am]
zeosdb zupdate don't work...
by
paweld
[
Today
at 06:59:14 am]
The Silver Coder on YouTu...
by
silvercoder70
[
Today
at 05:00:34 am]
Hooking to `OnISupport` d...
by
Gustavo 'Gus' Carreno
[
Today
at 03:17:18 am]
PostgreSQL "no route to h...
by
dseligo
[
Today
at 01:04:44 am]
Segmentation fault
by
Lauriet
[
Today
at 01:04:30 am]
lazarus-darwin-aarch64-3....
by
dbannon
[
Today
at 12:50:21 am]
Lepton Test Program with ...
by
Boleeman
[
Today
at 12:29:20 am]
Sets Vs Arrays. When to ...
by
TBMan
[
Today
at 12:18:00 am]
New 2D StarField
by
Gigatron
[
Today
at 12:16:26 am]
Error after installing ne...
by
sbulazel
[March 14, 2025, 11:57:26 pm]
Online Package Manager
by
wp
[March 14, 2025, 11:27:23 pm]
to read an UTF8 text file
by
nk
[March 14, 2025, 10:24:30 pm]
Add,update and delete by ...
by
1HuntnMan
[March 14, 2025, 09:42:35 pm]
Pi day today
by
Key-Real
[March 14, 2025, 09:12:33 pm]
how to create a text file...
by
nk
[March 14, 2025, 08:54:35 pm]
LAMW Bindings fix
by
Key-Real
[March 14, 2025, 08:54:33 pm]
full featured Android Nat...
by
Key-Real
[March 14, 2025, 08:47:32 pm]
Converting a Project from...
by
1HuntnMan
[March 14, 2025, 08:12:58 pm]
[SOLVED] TSpinEditEx and ...
by
dangersgromit
[March 14, 2025, 08:03:16 pm]
how to native camera?
by
Key-Real
[March 14, 2025, 06:57:17 pm]
TScrollBox Not Scrolling ...
by
korba812
[March 14, 2025, 06:14:42 pm]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: help with an SQL - statement (Read 2308 times)
Nicole
Hero Member
Posts: 1009
[solved] Re: help with an SQL - statement
«
Reply #15 on:
March 06, 2024, 07:00:44 pm »
Thank you all so very much, it works.
And I learnt a lot
Code: MySQL
[Select]
[+]
[-]
with
tbd
as
(
select
datum
from
TBKURSZEILEN
where
fk_kontrakt
in
(
2340
,
2369
)
group by
1
having
count
(
datum
)
=
2
)
select
id_kurszeile
,
fk_kontrakt
,
t.datum
from
tbkurszeilen t
where
exists
(
select
*
from
tbd
where
t.datum
=
datum
and
t.FK_KONTRAKT
in
(
2340
,
2369
)
)
Logged
gidesa
Full Member
Posts: 160
Re: help with an SQL - statement
«
Reply #16 on:
March 06, 2024, 07:31:03 pm »
@rvk yes, you are right
Logged
Print
Pages:
1
[
2
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Databases
»
help with an SQL - statement
TinyPortal
© 2005-2018