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

  • Home
  • SEARCH
  • 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

Ask A Question

Stats

  • Questions 252k
  • Answers 253k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I'd avoid any code that uses Thread.Sleep(). Until .NET 4.0… May 13, 2026 at 9:49 am
  • Editorial Team
    Editorial Team added an answer The translation function tr is a static method of QObject.… May 13, 2026 at 9:49 am
  • Editorial Team
    Editorial Team added an answer This is what I ended up with, just for other… May 13, 2026 at 9:49 am

Related Questions

In my application I have a form that starts synchronization process and for number
I need to instantiate some ASP LinkButtons onto an ASP.NET MVC view page. I've
I have the following class: public class Element { public Guid Id { get;
I know there is a lot of similar questions are tons of great answers

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.