我正在尝试在访问中运行查询,但我不断收到一条错误消息,阻止我运行它。是查询太大还是我的电脑太慢了?这是一台非常旧的计算机,所以我认为这是最有可能的情况,也是戴尔。当我不选择 DISTINCT 时查询有效,但当我选择时查询无效。但是,我得到了太多重复,所以我需要 DISTINCT。
SQL 代码:
SELECT DISTINCT [ECOG 2809 ICORG 11-04].Title,
[Anti-Mullerian AMH_SVU_1].Name,
[Tarceva Biomarker ICORG 11-21].Name,
[Pfizer Archer].Name,
[Collaborative Biomarker Study].Name,
[MYOCET ICORG 10-03].Name,
[doVe Electro-Chemo].[First name],
[Spinal Compression].Title,
SNP.Title, SNP.[First Name],
[PET -CT LUNG 06-35].[First Name],
CharactHer.[First Name],
[Perfosine Myslemo].[First Name],
SWOG_1.Name,
[Phase 2].[First Name],
SIVUH.Name,
SLRON.Name,
[Spinal Cord Retreat].[First name],
[doVe Electro-Chemo].[First name],
[Circulating miRNAs ICORG 10-11].[First Name],
Endomentrial.Title,
[Pfizer Archer].Name,
[IMRT Prostate].[First name],
Glioma.[First name],
[Genito Urinary].[First name],
[GSK VEG113387 ICORG 11-05].[First name]
FROM [TH v THL],
[Tarceva Biomarker ICORG 11-21],
SWOG,
SWOG AS SWOG_1,
[Spinal Cord Retreat],
[Spinal Compression],
SNP,
SLRON,
[Phase 2],
SIVUH,
[Pfizer Archer],
[PET -CT LUNG 06-35],
[Perfosine Myslemo],
[MYOCET ICORG 10-03],
[IMRT Prostate],
[GSK VEG113387 ICORG 11-05],
Glioma,
[Genito Urinary],
Endomentrial,
[ECOG 2809 ICORG 11-04],
[doVe Electro-Chemo],
[Collaborative Biomarker Study],
[Circulating miRNAs ICORG 10-11],
CharactHer,
[Biomarkers of Response Taxotere],
ANZGOG,
[Anti-Mullerian AMH_SVU],
[Anti-Mullerian AMH_SVU] AS [Anti-Mullerian AMH_SVU_1]
WHERE
(
(
([ECOG 2809 ICORG 11-04].Title) Is Null
Or ([ECOG 2809 ICORG 11-04].Title) Between "A" And "G"
)
AND
(
([Anti-Mullerian AMH_SVU_1].Name) Is Null
Or ([Anti-Mullerian AMH_SVU_1].Name) Between "A" And "G"
)
AND
(
([Tarceva Biomarker ICORG 11-21].Name) Is Null
Or ([Tarceva Biomarker ICORG 11-21].Name) Between "A" And "G"
)
AND
(
([Pfizer Archer].Name) Is Null
Or ([Pfizer Archer].Name) Between "A" And "G"
)
AND
(
([Collaborative Biomarker Study].Name) Is Null
Or ([Collaborative Biomarker Study].Name) Between "A" And "G"
)
AND
(
([MYOCET ICORG 10-03].Name) Is Null
Or ([MYOCET ICORG 10-03].Name) Between "A" And "G"
)
AND
(
([doVe Electro-Chemo].[First name]) Is Null
Or ([doVe Electro-Chemo].[First name]) Between "A" And "G"
)
AND
(
([Spinal Compression].Title) Is Null
Or ([Spinal Compression].Title) Between "A" And "G"
)
AND
(
(SNP.Title) Is Null
Or (SNP.Title) Between "A" And "G"
)
AND
(
(SNP.[First Name]) Is Null
Or (SNP.[First Name]) Between "A" And "G"
)
AND
(
([PET -CT LUNG 06-35].[First Name]) Is Null
Or ([PET -CT LUNG 06-35].[First Name]) Between "A" And "G"
)
AND
(
(CharactHer.[First Name]) Is Null
Or (CharactHer.[First Name]) Between "A" And "G"
)
AND
(
([Perfosine Myslemo].[First Name]) Is Null
Or ([Perfosine Myslemo].[First Name]) Between "A" And "G"
)
AND
(
(SWOG_1.Name) Is Null
Or (SWOG_1.Name) Between "A" And "G"
)
AND
(
([Phase 2].[First Name]) Is Null
Or ([Phase 2].[First Name]) Between "A" And "G"
)
AND
(
(SIVUH.Name) Is Null
Or (SIVUH.Name) Between "A" And "G"
)
AND
(
(SLRON.Name) Is Null
Or (SLRON.Name) Between "A" And "G"
)
AND
(
([Spinal Cord Retreat].[First name]) Is Null
Or ([Spinal Cord Retreat].[First name]) Between "A" And "G"
)
AND
(
([doVe Electro-Chemo].[First name]) Is Null
Or ([doVe Electro-Chemo].[First name]) Between "A" And "G"
)
AND
(
([Circulating miRNAs ICORG 10-11].[First Name]) Is Null
Or ([Circulating miRNAs ICORG 10-11].[First Name]) Between "A" And "G"
)
AND
(
(Endomentrial.Title) Is Null
Or (Endomentrial.Title) Between "A" And "G"
)
AND
(
([Pfizer Archer].Name) Is Null
Or ([Pfizer Archer].Name) Between "A" And "G"
)
AND
(
([IMRT Prostate].[First name]) Is Null
Or ([IMRT Prostate].[First name]) Between "A" And "G"
)
AND
(
(Glioma.[First name]) Is Null
Or (Glioma.[First name]) Between "A" And "G"
)
AND
(
([Genito Urinary].[First name]) Is Null
Or ([Genito Urinary].[First name]) Between "A" And "G"
)
AND
(
([GSK VEG113387 ICORG 11-05].[First name]) Is Null
Or ([GSK VEG113387 ICORG 11-05].[First name]) Between "A" And "G")
);
错误信息
无法完成查询。查询结果的大小大于数据库的最大大小(2GB)或者磁盘上没有足够的临时存储空间来存储查询结果