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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:09:13+00:00 2026-05-26T13:09:13+00:00

I am trying to convert this MSSQL QUERY to MYSQL Query looks like this

  • 0

I am trying to convert this MSSQL QUERY to MYSQL

Query looks like this

select tu.FirstName+' '+tu.LastName as name,tg.Name as game_name,tg.Status,tg.UserId,tg.gameid from tblUsers tu    
inner join tblGame tg on  
tu.UserId=tg.UserId where tg.Name LIKE @Name + '%' 

the same query doesnt return any records when i run it on MYSQL, what is the issue ? It works good on SQL server

  • 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-26T13:09:13+00:00Added an answer on May 26, 2026 at 1:09 pm
    SELECT CONCAT_WS(' ', tu.FirstName, tu.LastName) AS name, tg.Name AS game_name,tg.Status,tg.UserId,tg.gameid
    FROM tblUsers tu    
    INNER JOIN tblGame tg ON tu.UserId=tg.UserId
    WHERE tg.Name LIKE CONCAT(tu.FirstName, ' ', tu.LastName, '%')
    

    Notes:

    • it’s case insensitive, I’ve used upper case just for readability
    • I’ve intentionally used both concat and concat_ws to show them as options
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to convert a mySQL query into a JSON object. This works:
I'm trying to convert this SQL query to LINQ: SELECT Items.p_Name Product, DiamondCategory.dc_Name Category,
With MySQL 5.1.43. I am trying to create a trigger like this: USE `databaseA`;
I'm trying to convert this string 0x00009F0900000000 into a date either through MySql or
I am trying to convert a mysql DATETIME into this format m/d/y but the
Part of the MySQL query that I'm trying to convert to pgSQL : LEFT
In MSSQL you can convert a string into an integer like this: CONVERT(INT, table.column)
Trying to convert this c code into MIPS and run it in SPIM. int
I'm trying to convert this 2012-03-27 16:01:48 CEST into 1 hour and 22 minutes
I'm trying to convert this string : $json = '[{a:1,b:2,c:3,d:4,e:5}, {a:6,b:7,c:8,d:9,e:10}]'; To an array

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.