Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select max(date) from 3 tables
Message
From
11/11/2016 06:10:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Select max(date) from 3 tables
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 7
Network:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01643159
Message ID:
01643159
Views:
44
Sir I am using these codes
SELECT data.date
from (
select max(date)as date from crprp
union all
select max(date)as date from pouring
union all
select max(date)as date from product
) as data
group by data.date
It displays 2 different dates shown in attachment but I need only one data that is maximum DATE from 3 tables.

Please help
Next
Reply
Map
View

Click here to load this message in the networking platform