General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
I got a feeling this isn't possible, but I thought I'd ask just in case. I want to do something like this:
SELECT trips
DELETE ALL FOR trips.client_num NOT IN (SELECT client_num FROM clients)
Basically, there's a lot of orphaned trips in the table and I want to clear them out. Is there any way to do that short of scanning through the trips table and looking up each client_num?
Thanks,
-Michelle
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only