1
DROP TABLE IF EXISTS t1;
3
a int(11) NOT NULL auto_increment,
5
c varchar(254) default NULL,
11
INSERT INTO t1 VALUES (1,'lala lolo lili','oooo aaaa pppp');
12
INSERT INTO t1 VALUES (2,'asdf fdsa','lkjh fghj');
13
INSERT INTO t1 VALUES (3,'qpwoei','zmxnvb');
14
SELECT a, round(MATCH b AGAINST ('lala lkjh'),5) FROM t1;
15
a round(MATCH b AGAINST ('lala lkjh'),5)
19
SELECT a, round(MATCH c AGAINST ('lala lkjh'),5) FROM t1;
20
a round(MATCH c AGAINST ('lala lkjh'),5)
24
SELECT a, round(MATCH b,c AGAINST ('lala lkjh'),5) FROM t1;
25
a round(MATCH b,c AGAINST ('lala lkjh'),5)