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 7614385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T02:23:28+00:00 2026-05-31T02:23:28+00:00

I did my reading on this and still can’t make sense why my query

  • 0

I did my reading on this and still can’t make sense why my query doesn’t work. It’s a rather simple INNER JOIN and we’re working on MySQL5. I know, there was a change with join with the precedence of explicitly called joins over comas. But I’m not doing any of that.

My assembled query looks like this:

SELECT SQL_CALC_FOUND_ROWS k_services.id, service_status, service_tourno, service_date, service_cxlDate, service_difficultPeriod, service_priority, service_currency, service_key_so, service_price_so, service_key_ok, service_price_cfm, service_supplement 
    FROM  k_services
    JOIN k_remarks ON k_remarks.remark_service = k_services.id
    WHERE  k_services.service_market = 2 AND k_remarks.remark_type = 9
    LIMIT 0, 25

Which returns me an error:

Unknown column ‘k_remarks.remark_type’ in ‘where clause.

However, when I pop this exact same query into SQLyog it executes just fine with the desired/expected results.

  • 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. Editorial Team
    Editorial Team
    2026-05-31T02:23:29+00:00Added an answer on May 31, 2026 at 2:23 am

    Try:

    
    SELECT SQL_CALC_FOUND_ROWS k_services.id, service_status, service_tourno, service_date, service_cxlDate, service_difficultPeriod, service_priority, service_currency, service_key_so, service_price_so, service_key_ok, service_price_cfm, service_supplement 
        FROM  k_services
        JOIN k_remarks ON (k_remarks.remark_service = k_services.id AND k_remarks.remark_type = 9)
        WHERE  k_services.service_market = 2 
        LIMIT 0, 25
    
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While reading this link, I did not understand the point on avoiding table locks
I'm completely confused, frustrated and nothing seems to make sense and work any more.
I'm completely confused, frustrated and nothing seems to make sense and work any more.
I recently came across this expression - but reading up on Wikipedia did not
Not sure why I'm getting this. I did a bunch of reading and I
I have been reading around this subject all morning, but I am still confused
While I was doing some reading on system calls, I did a search for
Did I not get enough sleep or what? This following code var frame=document.getElementById(viewer); frame.width=100;
Did actually someone make already a tutorial that shows how to customize an UITableView?
I have been doing a lot of searching and still can't seem to figure

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.