خرید بک لینک

Vote count: 0

I have a table Types that has the following columns: ID, Name, Type. The table is filled with about 300 rows. One of the rows:

ID    Name    Type
------------------
1     BMW     S 1000 RR

The following query retus this row:

SELECT * FROM Types WHERE Name = 'BMW'

However, the following query retus nothing:

SELECT * FROM Types WHERE Type = 'S 1000 RR'

There are no extra spaces in the Type, and the data types of Name and Type are exactly the same (varchar 255, utf8_unicode_ci). What can possibly cause this?

I am using MySQL, IoDB. Using phpMyAdmin I get the exact same results, so no typo's in column names...

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 19 فروردين 1395 ساعت: 15:26

صفحه بندی