Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select max(date) from 3 tables
Message
De
11/11/2016 06:10:49
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Select max(date) from 3 tables
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 7
Network:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01643159
Message ID:
01643159
Vues:
45
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform