<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - MySQL Query Browser</title>
        <description>Forum for MySQL Query Browser</description>
        <link>http://forums.mysql.com/list.php?108</link>
        <lastBuildDate>Sat, 25 May 2013 22:01:48 +0000</lastBuildDate>
        <generator>Phorum 5.2.19</generator>
        <item>
            <guid>http://forums.mysql.com/read.php?108,586445,586445#msg-586445</guid>
            <title>split string into columns (no replies)</title>
            <link>http://forums.mysql.com/read.php?108,586445,586445#msg-586445</link>
            <description><![CDATA[ I have the following data into table &quot;admin_interval&quot;<br />
<br />
admin_interval table<br />
--------------------<br />
row1: &quot;00:00:00 - 06:00:00, 22:00:00 - 23:59:59&quot;<br />
row2: &quot;05:00:00 - 06:00:00&quot;<br />
<br />
and i want to split string into separate columns like from1, to1 from2, to2.<br />
<br />
      from1    to1      from2      to2<br />
row1 00:00:00  06:00:00  22:00:00  23:59:59<br />
row2 05:00:00  06:00:00   <br />
-----------------------------------------------<br />
<br />
Could you please let me know how to do this in best way?]]></description>
            <dc:creator>sarath chandra</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Thu, 16 May 2013 08:12:10 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,585389,585389#msg-585389</guid>
            <title>Split a query result (1 reply)</title>
            <link>http://forums.mysql.com/read.php?108,585389,585389#msg-585389</link>
            <description><![CDATA[ Hello,<br />
<br />
I'm trying to find a query which allows me to get the data splited.<br />
<br />
The problem is that I have about 9 million rows in the table I use, and what I want is to get the average (AVG) of this data grouped into 150 points which I will put im a Graphic Chart (but this is another task).<br />
<br />
I looked for a function &quot;split&quot; or somthing like this without result. There is a way to do it?<br />
<br />
Thanks in advance]]></description>
            <dc:creator>Marc Petr</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Fri, 03 May 2013 19:00:18 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,583842,583842#msg-583842</guid>
            <title>Update two row values in mysql (1 reply)</title>
            <link>http://forums.mysql.com/read.php?108,583842,583842#msg-583842</link>
            <description><![CDATA[ Hello Everyone,<br />
<br />
I have been trying to update value 1 and 0 for two different conditions. I tried to use if.. else but it shows me error. Can i use two different update statement in same procedure? Please help me with it.<br />
<br />
Below is my procedure:<br />
<br />
DELIMITER $$<br />
CREATE PROCEDURE update11()<br />
BEGIN<br />
Select x From table1 WHERE count1 &lt;= quantity;<br />
IF x= 0 then<br />
UPDATE table1 SET x=1;<br />
ELSE<br />
UPDATE table1 SET x=0;<br />
END IF;<br />
END $$<br />
DELIMITER;]]></description>
            <dc:creator>Jordan Pathsorious</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Fri, 03 May 2013 19:02:49 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,583132,583132#msg-583132</guid>
            <title>Increase the number of queries in history (no replies)</title>
            <link>http://forums.mysql.com/read.php?108,583132,583132#msg-583132</link>
            <description><![CDATA[ Hello,<br />
<br />
Is there a way to increase the number of queries that will be available in the History?<br />
<br />
I see that these are kept in file  mysqlqb_history.xml. Is there a variable that I can set to increase the max size of this file?<br />
<br />
I am using MySql 5.1.11 and MySqlQueryBrowser 1.2.17<br />
<br />
Best regards,<br />
EML]]></description>
            <dc:creator>Erick Machuca</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Thu, 04 Apr 2013 22:27:24 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,582311,582311#msg-582311</guid>
            <title>Query Update? (3 replies)</title>
            <link>http://forums.mysql.com/read.php?108,582311,582311#msg-582311</link>
            <description><![CDATA[ Need a query to update a field...<br />
<br />
xxxx-001.jpg<br />
aaaaaa-001.jpg<br />
<br />
I need to remove the -001<br />
Or remove the last 8 characters an replace with .jpg<br />
<br />
xxxx.jpg<br />
aaaaaa.jpg<br />
<br />
Update Statement?  Not sure how the syntax goes...<br />
Thanks]]></description>
            <dc:creator>Jay Kappy</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Tue, 26 Mar 2013 12:40:06 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,580696,580696#msg-580696</guid>
            <title>Squirrel and MySQL Browser date interpretation (no replies)</title>
            <link>http://forums.mysql.com/read.php?108,580696,580696#msg-580696</link>
            <description><![CDATA[ Hi, <br />
<br />
I've got a MySQL (5.0) database. There is a table with column DATE. In this field, many data (maybe all) have a wrong date format. When the data's are inserted, the date format provided is 'yyyy' (only the year). So, MySQL convert the data like : '2008-00-00' if the number '2008' was inserted.<br />
<br />
When retrieving the date with SQL Browser, it will be display like '2008-00-00'. But when retrieving the date with Squirrel, it's displayed like '2007-11-30'. The result we want is the one displayed by MySQL Browser ('2008-00-00') but our clients use Squirrel.<br />
<br />
Is there any option in Squirrel to get the result like the way MySQL Browser does ?<br />
<br />
I know the application is quite ugly but, unfortunately change it, is not in the TODO list.<br />
<br />
Thank you.]]></description>
            <dc:creator>Aurelien PANIZZA</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Wed, 06 Mar 2013 17:04:09 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,580235,580235#msg-580235</guid>
            <title>Help : WHERE  FIND_IN_SET usage : list is a column (no replies)</title>
            <link>http://forums.mysql.com/read.php?108,580235,580235#msg-580235</link>
            <description><![CDATA[ Hello all,<br />
<br />
I need help resolve my query<br />
<br />
<br />
My table is 'table1' (id:INT, ref:varchar, ids:text)<br />
---------------------<br />
|id | ref | ids     |<br />
---------------------<br />
|1  | a   | 2, 3, 4 |<br />
|2  | b   | 2, 5, 8 |<br />
---------------------<br />
<br />
SELECT id, ref FROM table1 WHERE FIND_IN_SET('5',ids);<br />
<br />
I need this result :<br />
<br />
-----------<br />
|2  | b   |<br />
-----------<br />
<br />
But the result of my query is 0 result.<br />
<br />
Thanks for your help.<br />
<br />
FQ.]]></description>
            <dc:creator>Fabrice QUESTEL</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Thu, 28 Feb 2013 15:30:41 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,580107,580107#msg-580107</guid>
            <title>Help for a query (no replies)</title>
            <link>http://forums.mysql.com/read.php?108,580107,580107#msg-580107</link>
            <description><![CDATA[ HI Everyone,<br />
<br />
I am novice in terms of SQL knowledge , Can some one please explain how is the query executed:<br />
<br />
SELECT DISTINCT store_type FROM stores s1<br />
  WHERE NOT EXISTS (<br />
    SELECT * FROM cities WHERE NOT EXISTS (<br />
      SELECT * FROM cities_stores<br />
       WHERE cities_stores.city = cities.city<br />
AND cities_stores.store_type = stores.store_type));<br />
<br />
I am very confused on this .]]></description>
            <dc:creator>Himanshu Nagar</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Wed, 27 Feb 2013 05:46:47 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,578742,578742#msg-578742</guid>
            <title>Help for a query (no replies)</title>
            <link>http://forums.mysql.com/read.php?108,578742,578742#msg-578742</link>
            <description><![CDATA[ Hi, i need some help for a query.<br />
<br />
This query works:<br />
<br />
SELECT idcustomer,idpark,iddevice,date(datetime)<br />
FROM `general inputs data` gid<br />
where gid.`LAST UPDATE` &gt;<br />
(SELECT max(`LAST UPDATE`) FROM general_inputs_data_limited )<br />
group by idcustomer,idpark,iddevice,date(datetime)<br />
<br />
Takes from &quot;general_inputs_data_limited&quot; the max value of LAST UPDATE<br />
and select all the value of another table &quot;general_inputs_data&quot; that have LAST UPDATE &gt; of that value.<br />
<br />
Now, i would delete these selected values from the first table &quot;general_inputs_data_limited &quot;<br />
<br />
I tried this but doesn't work...<br />
<br />
delete from general_inputs_data_limited<br />
where idcustomer,idpark,iddevice,date(datetime)<br />
IN<br />
(<br />
SELECT idcustomer,idpark,iddevice,date(datetime)<br />
FROM `general inputs data` gid<br />
where gid.`LAST UPDATE` &gt;<br />
(SELECT DATE_ADD(max(`LAST UPDATE`),INTERVAL -30 MINUTE) FROM general_inputs_data_limited)<br />
group by idcustomer,idpark,iddevice,date(datetime)<br />
)<br />
<br />
The 2 table have the same field:<br />
IDCUSTOMER, IDPARK, DATETIME  -&gt; PRIMARY KEY<br />
IDDEVICE -&gt; PRIMARY KEY but not used<br />
LAST UPDATE  -&gt;  FIELD<br />
<br />
Any advise ?]]></description>
            <dc:creator>Luca V</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Fri, 08 Feb 2013 10:15:54 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,578152,578152#msg-578152</guid>
            <title>Query to find missing records (no replies)</title>
            <link>http://forums.mysql.com/read.php?108,578152,578152#msg-578152</link>
            <description><![CDATA[ Please help. My query creates 2 tables from two different servers. I want to compare the two tables to see what claims are missing between the two table. My query is below but I keep getting an error. What am I doing wrong?<br />
<br />
 useINSLTDV<br />
Select cr.rsv_typ_cd, c.rpt_num_txt, c.clm_num, c.lif_stts_cd, cr.rins_role_cd, sum(cr.Rsv_amt)as 'LTDV rsv_amt'	<br />
into #temp2<br />
from t_clm c inner join t_clm_rsv cr	<br />
On (c.clm_num = cr.clm_num and c.xtrct_dt = cr.xtrct_dt) 	<br />
where c.xtrct_dt ='12/31/2012' and	<br />
cr.rsv_typ_cd in ('GAAP')<br />
and c.lif_stts_cd in ('APP', 'SUS')<br />
and cr.feed_cd in ('0001', '0003')<br />
Group by rsv_typ_cd, c.rpt_num_txt, c.clm_num, c.lif_stts_cd, cr.rins_role_cd<br />
<br />
useINSGRDB<br />
select rsv_typ_cd as 'grdb rsv_typ_cd' , xprn_num_txt, clm_num as 'grdb clm_num', RINS_ROLE_NM as 'grdb rins_role_nm', sum(rsv_amt)as 'GRDB RSV_AMT'<br />
into #temp3<br />
from dbo.TGRLTDV_RSV<br />
where val_dt = '12/31/2012'<br />
and rsv_typ_cd in ('GAAP', 'STAT')<br />
and feed_num = '1050'<br />
group by rsv_typ_cd, xprn_num_txt, clm_num, RINS_ROLE_NM<br />
order by rsv_typ_cd, clm_num<br />
<br />
<br />
<br />
<br />
select *<br />
from #temp2 d inner join #temp3 dr<br />
On (d.clm_num = dr.grdb clm_num)<br />
where d.clm_num &lt;&gt; dr.grdb clm_num)]]></description>
            <dc:creator>Deepak Wahi</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Tue, 29 Jan 2013 21:02:00 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,578082,578082#msg-578082</guid>
            <title>[SOLVED]... AND ((column1 + column2)&gt;0) bad condition? (no replies)</title>
            <link>http://forums.mysql.com/read.php?108,578082,578082#msg-578082</link>
            <description><![CDATA[ Hi All,<br />
<br />
I'm trying this query, i know that result1+result2 is 0 because it doesn't exists in rne.lgm, so the query should return 0 rows. But instead is returning 1 row.<br />
<br />
Can anyone help here :(<br />
<br />
SELECT registry.id_registry,<br />
registry.registry_num,<br />
registry.name,<br />
 registry.sent_date,<br />
 registry.nin,<br />
 rne.lgm.d_ctrl_fil,<br />
 (CASE WHEN (rne.lgm.resultado1+rne.lgm.resultado2 &gt; 0) THEN 1 ELSE 0 END) AS resolved,<br />
 registry.ln_number,<br />
 registry.la_number,<br />
 registry.resolved_abpsl<br />
 FROM registry <br />
 LEFT JOIN rne.lgm ON rne.lgm.nsc_f = registry.nin <br />
WHERE ((rne.lgm.resultado1 + rne.lgm.resultado2) &gt; 0)<br />
AND (('' = 'VIOLINO HOR') OR (CAST(registry.nin as char) = 'VIOLINO HOR'))<br />
 OR (('' = 'VIOLINO HOR') OR (registry.name LIKE '%VIOLINO%'))<br />
 OR (('' = 'VIOLINO HOR') OR (registry.registry_num LIKE '%VIOLINO HOR%'))<br />
ORDER BY registry.sent_date DESC]]></description>
            <dc:creator>António Rodrigues</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Mon, 28 Jan 2013 17:45:01 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,577418,577418#msg-577418</guid>
            <title>Return Last Row by Each ContactID (no replies)</title>
            <link>http://forums.mysql.com/read.php?108,577418,577418#msg-577418</link>
            <description><![CDATA[ Hi All,<br />
<br />
I dont know if this is possible.<br />
I am trying to run a query that will show me the last row in a table for each individual contactid in a given account.<br />
<br />
something like:<br />
SELECT contacitd, completeddate FROM activities where accountid = 'AAXA-SZMY8K' ORDER BY contactid DESC LIMIT 10;<br />
<br />
The problem is i dont always know how many contactid's will be in a given accountid, so the DESC LIMIT 10 wont work for me.<br />
Also, the above query returns the last 10 rows of a given accountid regardless of contactid, so it usually returns the last 10 rows for a single contactid rather than show the time/date of the last activity for each contactid.<br />
<br />
Im running this to export to a csv file, so any suggestions would be welcome.<br />
<br />
Thanks,]]></description>
            <dc:creator>Paul Henderson</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Wed, 16 Jan 2013 09:08:32 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,576929,576929#msg-576929</guid>
            <title>find and replaced (1 reply)</title>
            <link>http://forums.mysql.com/read.php?108,576929,576929#msg-576929</link>
            <description><![CDATA[ Hello Im new on mysql<br />
<br />
I need to change question marks (?) to a dot (.) on my DB under the fiels products_name and products_description<br />
can some body help me the the script<br />
<br />
<br />
see here the old server here you dont see question marks (?)<br />
<a href="http://74.54.20.226/~medic/shopping/...roducts_id=159"  rel="nofollow">http://74.54.20.226/~medic/shopping/...roducts_id=159</a><br />
<br />
see here the new server here you see question marks (?)<br />
<a href="http://www.medicalequipmentfl.com/sh...roducts_id=159"  rel="nofollow">http://www.medicalequipmentfl.com/sh...roducts_id=159</a>]]></description>
            <dc:creator>carlos evora</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Sat, 12 Jan 2013 04:31:07 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,576179,576179#msg-576179</guid>
            <title>SQL Join (1 reply)</title>
            <link>http://forums.mysql.com/read.php?108,576179,576179#msg-576179</link>
            <description><![CDATA[ Hi, <br />
<br />
I need help to to collect data from feedback tables. <br />
<br />
I have tables like <br />
<br />
1. tbl_parent_child_details<br />
<br />
fld_parent_id	fld_parent_name	fld_child_name	fld_class fld_section<br />
1	 Tom	 Ray	 8 A<br />
2 Dev angelina 12 B <br />
<br />
2. tbl_feedback_children<br />
<br />
fld_parent_id fld_quetion_id	fld_ans	<br />
1 1 1<br />
1 2 3<br />
1 3 2<br />
2 1 4<br />
2 2 5<br />
2 3 2<br />
<br />
2. tbl_feedback_admini<br />
<br />
fld_parent_id fld_quetion_id	fld_ans	<br />
1 1 1<br />
1 2 3<br />
1 3 2<br />
2 1 4<br />
2 2 5<br />
2 3 2<br />
__________________________________________________<br />
<br />
Now my requirement is I want data of every parent in one row like:<br />
<br />
Parent child q1 q2 q3 q4 q5 q6<br />
tom ray 1 3 2 1 3 2<br />
dev angelina 4 5 2 4 5 2<br />
<br />
Any help is highly appreciated.<br />
<br />
Thanks,<br />
Shrawan]]></description>
            <dc:creator>shrawan sahu</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Sat, 12 Jan 2013 04:21:22 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,575919,575919#msg-575919</guid>
            <title>MySQL Error in Firefox (no replies)</title>
            <link>http://forums.mysql.com/read.php?108,575919,575919#msg-575919</link>
            <description><![CDATA[ Hi, I have this one concern regarding MySQL and I'm hoping that I posted in the right topic. I'm using firefox as my default browser. My concern is that why do I often get Mysql error everytime I'm gonna few sites in Firefox?]]></description>
            <dc:creator>Niamh Woodward</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Wed, 12 Dec 2012 07:46:56 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,575342,575342#msg-575342</guid>
            <title>Is there any addon in mozilla which help you to manage database editors? (no replies)</title>
            <link>http://forums.mysql.com/read.php?108,575342,575342#msg-575342</link>
            <description><![CDATA[ Hello all, I am working on online projects and was wondering for an addon in mozilla through which I can store my database and even access it from everywhere. So please help me out if such kind of addon exist.]]></description>
            <dc:creator>Leon Victor</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Wed, 05 Dec 2012 12:33:11 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,573627,573627#msg-573627</guid>
            <title>The configuration file mysql query browser (no replies)</title>
            <link>http://forums.mysql.com/read.php?108,573627,573627#msg-573627</link>
            <description><![CDATA[ Hi,<br />
<br />
I need to reinstall the operating system (OS X). I currently have several connections defined in the Mysql Query Browsrer.<br />
<br />
Can I transfer all connections defined in the program?<br />
Where is the configuration file of this program?<br />
<br />
Thank you for the information.]]></description>
            <dc:creator>michal hyzy</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Mon, 12 Nov 2012 21:20:03 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,571890,571890#msg-571890</guid>
            <title>MySQL Connection with Eclipse (no replies)</title>
            <link>http://forums.mysql.com/read.php?108,571890,571890#msg-571890</link>
            <description><![CDATA[ Hi All,<br />
<br />
I want to connect MySQL database with eclipse environment for Struts application, I need code to do so. Can anyone solve this issue if possible?<br />
<br />
Appreciate ur replies<br />
<br />
Thanks and Regards]]></description>
            <dc:creator>Star fish</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Tue, 23 Oct 2012 03:46:05 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,570659,570659#msg-570659</guid>
            <title>How to find Month Difference of two given dates (no replies)</title>
            <link>http://forums.mysql.com/read.php?108,570659,570659#msg-570659</link>
            <description><![CDATA[ Can anybody tell me how could I get the MONTH Difference of two given dates?  In fact, period_diff will not work at all!!!<br />
<br />
Ex. date1 = '2009-05-30' &amp; date2 = '2009-06-05'<br />
<br />
We all know that the answer is 0, but how to get it using Query in MySQL???<br />
<br />
Any help would be appreciated?<br />
<br />
Syam]]></description>
            <dc:creator>Syam lal</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Wed, 10 Oct 2012 20:23:38 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,570336,570336#msg-570336</guid>
            <title>Need Help! MySQL error (no replies)</title>
            <link>http://forums.mysql.com/read.php?108,570336,570336#msg-570336</link>
            <description><![CDATA[ [SQL] DROP TABLE IF EXISTS BCustOrd;<br />
Affected rows: 0<br />
Time: 0.172ms<br />
<br />
[SQL] <br />
CREATE TABLE IF NOT EXISTS BCustOrd LIKE BCustOrderStructure;<br />
Affected rows: 0<br />
Time: 0.187ms<br />
<br />
[SQL] <br />
INSERT INTO BCustOrd SELECT DISTINCT<br />
TRUNCATE(mn6l0_redshop_orders.order_id,0) AS order_id, TRIM(mn6l0_redshop_order_item.user_info_id) AS users_info_id,<br />
TRUNCATE(mn6l0_redshop_orders.user_id,0) as user_id, TRUNCATE(order_total,2) AS order_total, <br />
TRUNCATE(coupon_discount,2) AS coupon_discount, TRIM(mn6l0_redshop_orders.order_status) AS order_status, <br />
FROM_UNIXTIME(mn6l0_redshop_orders.cdate,&quot;%m-%d-%Y&quot;), TRIM(mn6l0_redshop_orders.customer_note) as customer_note,<br />
TRUNCATE(product_id,0) AS product_id, TRUNCATE(order_info_id,0) as order_info_id, TRIM(firstname) AS firstname,<br />
TRIM(lastname) AS lastname, TRIM(address_type) AS address_type, TRIM(address) AS address, <br />
TRIM(city) AS city, TRIM(state_code) AS state_code , TRIM(zipcode) AS zipcode, TRIM(phone) AS phone, TRIM(user_email) AS user_email,<br />
SPACE(0) AS Church_Code<br />
FROM mn6l0_redshop_orders LEFT JOIN (mn6l0_redshop_order_item, mn6l0_redshop_order_users_info)<br />
     ON (mn6l0_redshop_orders.order_id = mn6l0_redshop_order_item.order_id AND <br />
         mn6l0_redshop_orders.order_id = mn6l0_redshop_order_users_info.order_id)<br />
WHERE mn6l0_redshop_orders.order_status = &quot;C&quot; AND mn6l0_redshop_order_item.product_id &lt; 3 AND mn6l0_redshop_orders.order_id &gt; 9<br />
ORDER BY users_info_id, address_type;<br />
Affected rows: 16<br />
Time: 0.188ms<br />
<br />
[SQL] <br />
<br />
<br />
UPDATE BCustOrd<br />
SET Church_Code = UPPER(mn6l0_extendedreg_users.cf_cc_code)<br />
WHERE mn6l0_extendedreg_users.user_id = BCustOrd.user_id;<br />
[Err] 1054 - Unknown column 'mn6l0_extendedreg_users.user_id' in 'where clause'<br />
<br />
This is the structure of mn6l0_extendedreg_users:<br />
<br />
user_id	acceptedterms	approve	overage	ip_addr	form_id	notes	last_activation_request	approve_hash	terminate_hash	block_tstamp	cf_cc_code<br />
42	0	1	0	178.199.48.63			0/0/0000 00:00:00			0/0/0000 00:00:00	<br />
43	0	1	0				0/0/0000 00:00:00			0/0/0000 00:00:00	<br />
47	0	1	0				0/0/0000 00:00:00			0/0/0000 00:00:00	<br />
50	0	0	0				0/0/0000 00:00:00			0/0/0000 00:00:00	<br />
135	0	1	0	70.196.2.40	2		0/0/0000 00:00:00			0/0/0000 00:00:00	KUPCLA<br />
134	0	1	0	72.146.54.212	2		0/0/0000 00:00:00			0/0/0000 00:00:00	KUPCLA<br />
133	0	1	0	68.18.4.183	2		0/0/0000 00:00:00			0/0/0000 00:00:00	KUPCLA]]></description>
            <dc:creator>Russell Hibbing</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Sat, 06 Oct 2012 18:53:21 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,569909,569909#msg-569909</guid>
            <title>how to insert Hindi excel data into MySQL database in Hindi Language (1 reply)</title>
            <link>http://forums.mysql.com/read.php?108,569909,569909#msg-569909</link>
            <description><![CDATA[ I have excel with data which is in Hindi language here it is Ex:<br />
FileNumber<br />
----------<br />
13@e 1&amp;100@98 (this is in Hindi format)<br />
Now I want to insert this data into mysql database when I done it, it is loading as looking as it is but i want to insert this with Hindi which I need to print for Client. I have used mysql cmd to load the data.]]></description>
            <dc:creator>chakravarthy l</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Fri, 02 Nov 2012 04:04:16 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,569632,569632#msg-569632</guid>
            <title>ft_min_word_length (no replies)</title>
            <link>http://forums.mysql.com/read.php?108,569632,569632#msg-569632</link>
            <description><![CDATA[ Hi All,<br />
<br />
I as newbie in MYSql i got the task from my senior ones to change the ft_min_word_length = 1 which is situated in the MY.ini file in windows. i will discuss the wholw scenario,<br />
i have Windows server 2008 R2 installed on my machine with WAMP. i have got an message to set ft_min_word_length to 1.<br />
I have installed MYSql 5.2 and i havnt see my.ini file anywhere.i have seen below files,<br />
My-huge.ini<br />
My-small.ini<br />
My-medium.ini<br />
My-Large.ini<br />
i tried to find ft_min_word_length in all above file but didnt see any like that,<br />
what that means i have add this setting by self?<br />
and if i have then where?<br />
i have also the syntax of that which is like:<br />
#set-variable = ft_min_word_length=3<br />
Please help for this this is high priority issue for me .<br />
Plese help me out..<br />
<br />
Thank You,<br />
Akshay V]]></description>
            <dc:creator>Akshay Vithalkar</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Thu, 27 Sep 2012 09:23:49 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,569307,569307#msg-569307</guid>
            <title>delete quary (no replies)</title>
            <link>http://forums.mysql.com/read.php?108,569307,569307#msg-569307</link>
            <description><![CDATA[ Hi<br />
I have a problem<br />
I want to delet the last 3 months of my database tables <br />
can you please give me a query for phpmyadmin that can delete all table contents of last 3 months?<br />
<br />
regards]]></description>
            <dc:creator>amir Bolourchian</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Sun, 23 Sep 2012 13:07:43 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,569108,569108#msg-569108</guid>
            <title>Compare with previous tuple(Row) (no replies)</title>
            <link>http://forums.mysql.com/read.php?108,569108,569108#msg-569108</link>
            <description><![CDATA[ Hi! I 'm stuck on a very basic problem, I want to skip the row which has duplicate values over three columns.<br />
<br />
Table feeds<br />
<br />
id,type,user_id,friend_id,date<br />
<br />
1, 'friend', 4 , 5 , 5/5/2010<br />
2, 'friend', 5 , 4 , 5/5/2010<br />
<br />
Now since both have same thing, so I want to pick them only as a 1 row not 2.<br />
<br />
Now this is how the data is saved (I can't change the saving module)<br />
<br />
Need help, thanks]]></description>
            <dc:creator>M Zubair Haroon</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Thu, 20 Sep 2012 20:30:06 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,568118,568118#msg-568118</guid>
            <title>Could not connect to specific instance. MySQL Error Number 2003 (no replies)</title>
            <link>http://forums.mysql.com/read.php?108,568118,568118#msg-568118</link>
            <description><![CDATA[ I have MySQL Installed on a Virtual Machine, and I needed to access the machine from other machines on the network. When I attempted to Open Query Browser or anything else, I would get the MySQL log-in Window. <br />
<br />
I entered the:<br />
- hostname (The Machine Name, or if you want to try with an IP you can do this by typing &quot;ipconfig /all&quot; from the command line and check your systems, IP and Hostname), <br />
- the username, in my case I used &quot;root&quot;<br />
- the password<br />
- the default port 3306 is already populated the box, and <br />
- the schema, which is the name of the DB in my case<br />
<br />
Every time, The system hangs for about a minute and then throws an error that says:<br />
<br />
<br />
Could not connect to the specified instance.<br />
<br />
MySQL Error Number 2003<br />
Can't connect to MySQL server on 'SGSS-VM1' (10060)<br />
<br />
If you want to check the network connection, please click the Ping button.<br />
<br />
<br />
So I clicked the ping button and the ping worked fine. To correct this problem, I went to the host machine and put in two firewall rules. My windows firewall was &quot;On&quot; and I figured it had this port blocked. Installing MySQL (at least the versuion I had) did not put in firewall rules for this default port &quot;3306&quot;. Now I am working in Windows 7 here. Sorry I forgot to mention that.<br />
<br />
I went into the Control Panel and navigated to the Firewall Settings page. In Advanced Security, <br />
1. I clicked on &quot;Inbound Rules&quot; <br />
2. and added a &quot;New Rule&quot; <br />
3. the Type was &quot;Port&quot;. <br />
4. In the &quot;Specific local ports:&quot; box I put in 3306. <br />
5. On the Next Page, I clicked &quot;Allow the Connection&quot;<br />
6. Then on the next page all three boxes were checked &quot;Domain&quot;, &quot;Private&quot;, and &quot;Public&quot; then on the next page<br />
7. I put in a Name and a description. This can be whatever you like. <br />
8. I clicked finish.<br />
<br />
Repeat this same process for your &quot;Outbound Rules&quot;. <br />
<br />
This fixed the problem for me. The error you]]></description>
            <dc:creator>Robin Briggs</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Mon, 10 Sep 2012 18:41:03 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,567529,567529#msg-567529</guid>
            <title>How do you find out which auto increment was assigned on the last insert? (2 replies)</title>
            <link>http://forums.mysql.com/read.php?108,567529,567529#msg-567529</link>
            <description><![CDATA[ plz send me any answer...]]></description>
            <dc:creator>smith james</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Tue, 30 Oct 2012 10:44:06 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,566718,566718#msg-566718</guid>
            <title>Need help building mysql query in phpmyadmin (3 replies)</title>
            <link>http://forums.mysql.com/read.php?108,566718,566718#msg-566718</link>
            <description><![CDATA[ I need to view some information from a wordpress table but it is way over my head because it is contained in a meta_value<br />
<br />
In a wp_usermeta table there are several keys, <br />
umeta_id<br />
user_id<br />
meta_key<br />
meta_value<br />
<br />
meta_key has a mgm_member_options value and I need to query all the data stored in meta_value for mgm_member_options.<br />
<br />
Any idea how I can build a query in phpmyadmin to view all this data in a table row structure?<br />
<br />
Here is the screenshot of what I'm talking about:<br />
<img src="http://i372.photobucket.com/albums/oo169/bgbs/mysql-shot-1.jpg" class="bbcode" border="0" /><br />
<br />
Thanks<br />
Ben]]></description>
            <dc:creator>ben bibik</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Sat, 01 Sep 2012 01:48:30 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,566369,566369#msg-566369</guid>
            <title>how to make short time for select (no replies)</title>
            <link>http://forums.mysql.com/read.php?108,566369,566369#msg-566369</link>
            <description><![CDATA[ how to make short time when i'm doing select rows with many tables for selected (there are concate and substring)<br />
in example:<br />
<br />
SELECT dpo.tanggal, dpo.bukti, dpo.qtyminta, dpo.qtybeli,   dpo.nosppb, nomorsppb, tpo.supplier, tpo.nopo,   CASE     WHEN (tpo.supplier = 'CASH') THEN sup.supplier     ELSE sup.nama   END AS namasupp,   CONCAT(dpo.bukti,'-', SUBSTRING(dpo.nosppb, 3, 4), '/',   LEFT(dpo.nosppb, 2), '/',RIGHT(dpo.periode, 4)) as npo FROM dtlpo dpo, trnpo tpo,  supplier sup WHERE tpo.bukti = dpo.bukti AND tpo.periode = dpo.periode and sup.supplier = tpo.supplier<br />
<br />
in my case there are 40029 rows selected...]]></description>
            <dc:creator>andre gunawan</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Mon, 27 Aug 2012 05:01:57 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,566276,566276#msg-566276</guid>
            <title>Query too slow (no replies)</title>
            <link>http://forums.mysql.com/read.php?108,566276,566276#msg-566276</link>
            <description><![CDATA[ Hi,<br />
<br />
i want to optimise a query that which take about 2 minutes to display results.<br />
here is the code<br />
<br />
Bonjour à tous,<br />
<br />
je cherche à optimiser une requête qui prends plus de 87 secondes pour s'exécuter.<br />
merci par avance pour vos idées et suggestion:<br />
<br />
<pre class="bbcode">
SELECT ID, Titre, Prix, Contact, Description,

(SELECT valeur from details where DT.ID = details.ID_Annonce and rubrique='Kilométrage') as Kilometrage,
(SELECT valeur from details where DT.ID = details.ID_Annonce and rubrique='Carburant') as Carburant,
(SELECT valeur from details where DT.ID = details.ID_Annonce and rubrique='Boîte de vitesse') as Boite_Vitesse,
(SELECT valeur from details where DT.ID = details.ID_Annonce and rubrique='Année-modèle') as Annee_modele,
Region, Ville, CodePostal

FROM annonces as DT 

WHERE
DT.Categorie like '%voiture%'
AND (DT.`Export` = '0') AND (DT.`Contact` &lt;&gt; '') AND (char_length(DT.`Contact`) = 10)
</pre>]]></description>
            <dc:creator>Bilel Yahia</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Sun, 26 Aug 2012 13:30:35 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,565274,565274#msg-565274</guid>
            <title>SQL QUERY to MYSQL (1 reply)</title>
            <link>http://forums.mysql.com/read.php?108,565274,565274#msg-565274</link>
            <description><![CDATA[ Hi <br />
<br />
I'm using this query in sqlserver and need same query in mysql .. i'm new in mysql .. please help me out to solve this query..<br />
<br />
DECLARE @sql AS nvarchar(max)<br />
set @sql=''<br />
set @sql='Select * From('<br />
SELECT @sql = @sql + N'<br />
SELECT Lead_id,DOB,EP,NMI,POT,ID,IDno,IDexpiry,Pension_Card,Pension_Expiry,Pension_Form,Solar_Form  FROM ['+ SCHEMA_NAME(schema_id) +'].[' + name + ']<br />
UNION ALL '<br />
FROM information_schema.`TABLES` T where table_name like 'Custom%'<br />
SELECT @sql = SUBSTRING(@sql, 0, len(@sql)-9)<br />
print @sql]]></description>
            <dc:creator>neha prajapati</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Sat, 18 Aug 2012 02:52:21 +0000</pubDate>
        </item>
    </channel>
</rss>
