Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 159959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T10:57:01+00:00 2026-05-11T10:57:01+00:00

Can anyone explain to me what is wrong with my query? SELECT T2.TIPOPRODUTO ,

  • 0

Can anyone explain to me what is wrong with my query?

SELECT T2.TIPOPRODUTO     , T2.PRODUTO     , T1.ESPESSURA     , '' AS LARGURA     , '' AS COMPRIMENTO     , '' AS [ACABAM REVEST]     , '' AS [ESPECIF QUALIDADE]     , T1.CÓDIGORASTREABILIDADE     , T3.DATA     , T4.NOMEFANTASIA     , T7.NOME     , T5.DT_INICIO_RESERVA     , T1.PESO     , T5.DT_FIM_RESERVA     , '' AS DESTINO     , T3.OBSERVAÇÃO     , '' AS [CUSTO TOTAL] FROM ([TABELA DE PRODUTOS/ESTOQUE] LEFT OUTER JOIN [TABELA DE PRODUTOS] ON ([TABELA DE PRODUTOS/ESTOQUE].PRODUTO=[TABELA DE PRODUTOS].ID)) , [TABELA DE PRODUTOS/ESTOQUE ] AS T1     , [TABELA DE PRODUTOS] AS T2     , [TABELA DE MOVIMENTAÇÃO DE ESTOQUE] AS T3     , [TABELA DE FORNECEDORES] AS T4     , RESERVAS_PRODUTOS_ESTOQUE AS T5 , [TABELA DE MOVIMENTAÇÃO DE PRODUTOS/ESTOQUE] AS T6     , [TABELA DE USUÁRIOS] AS T7     , [TABELA DE PEDIDOS DE COMPRA] AS T8 WHERE (((T1.Produto)=[T2].[ID])      AND ((T1.ID)=[T5].[ID_PRODUTO_ESTOQUE])      AND ((T5.id_vendedor)=[T7].[ID])      AND ((T3.ID)=[T6].[ID])      AND ((T2.ID)=[T6].[PRODUTO])      AND ((T4.ID)=[T8].[FORNECEDOR])      AND ((T8.Comprador)=[T7].[ID])); 

My best guess is it fails on this line:

([TABELA DE PRODUTOS/ESTOQUE] LEFT OUTER JOIN [TABELA DE PRODUTOS] ON ([TABELA DE PRODUTOS/ESTOQUE].PRODUTO=[TABELA DE PRODUTOS].ID)) 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T10:57:02+00:00Added an answer on May 11, 2026 at 10:57 am

    You are mixing a join statement with ‘classical joins’ (a comma separated list of tables with conditions in the where statement), which I believe is not allowed.

    Change the query to use only join statements. In Access you have to pair the joins using parentheses, in this manner:

    from (((t1 join t2 on ...) join t3 on ...) join t4 on ...) 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anyone explain what I'm doing wrong here to not get 11 as my
what is wrong with this code ? can anyone explain ? #include <stdio.h> #include
Can anyone explain this? what am I doing wrong?
Can anyone explain me why we aren't dereferencing a pointer now to an NSDate
Can anyone explain what this mod_rewrite rule is doing? I'm trying to comment the
Can anyone explain what advantages there are to using a tool like MSBuild (or
Can anyone explain why following code won't compile? At least on g++ 4.2.4. And
Can anyone explain in simple words what First and Second Level caching in Hibernate/NHibernate
Can anyone explain the difference between Server.MapPath(.) , Server.MapPath(~) , Server.MapPath(@\) and Server.MapPath(/) ?
Can anyone explain the meaning of and purposes of the values for the SecurityAction

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.