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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:47:00+00:00 2026-05-26T03:47:00+00:00

I am trying to return all data of exp_matrix_data.col_id_1 select col_id_ (select col_id from

  • 0

I am trying to return all data of exp_matrix_data.col_id_1

select col_id_

(select col_id from exp_matrix_cols 
left join exp_channel_fields on exp_matrix_cols.field_id = exp_channel_fields.field_id
where exp_channel_fields.field_name = 'transfer_agreement_field'
and exp_matrix_cols.col_name = 'school_name')

from exp_matrix_data

the select within the ( ) returns 1, that retrieves the correct id to be added to col_id_, so I can do:

select col_id_1 from exp_matrix_data

This does not work, but will give you an idea of what I am trying to accomplish.

  • 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-26T03:47:00+00:00Added an answer on May 26, 2026 at 3:47 am

    You need to use a dynamic query, read this: http://dev.mysql.com/doc/refman/5.0/en/sql-syntax-prepared-statements.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to return all selected data from mysql table. What I want
I am trying to use Linq2Sql to return all rows that contain values from
i'm new in asp.net mvc 2. I'm trying to list all data from one
I'm just trying to make a simple function that will return all the data
I'm processing a large chunk of data, and am trying to return all the
I've been trying to return data from a table after already having accessed two
I'm trying to calculate the time it takes to receive all data from a
I'm trying to write a function that will return all the available cars for
All, I am trying to use predicates to bring back a search return, giving
Im trying to return the value that a $ajax call returns, from a function

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.