- ,

- ,
UNION . - , (, , - ,
http:// - )
SELECT
tta.*
FROM
(
SELECT
rowid as txtname
,SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(fld005,'/'),'/',2),'/',-1) as txtvalu
FROM zzdemo_uu112pingasrcdata
UNION
SELECT
rowid as txtname
,SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(fld005,'/'),'/',3),'/',-1) as txtvalu
FROM zzdemo_uu112pingasrcdata
UNION
SELECT
rowid as txtname
,SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(fld005,'/'),'/',4),'/',-1) as txtvalu
FROM zzdemo_uu112pingasrcdata
UNION
SELECT
rowid as txtname
,SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(fld005,'/'),'/',5),'/',-1) as txtvalu
FROM zzdemo_uu112pingasrcdata
UNION
SELECT
rowid as txtname
,SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(fld005,'/'),'/',6),'/',-1) as txtvalu
FROM zzdemo_uu112pingasrcdata
UNION
SELECT
rowid as txtname
,SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(fld005,'/'),'/',7),'/',-1) as txtvalu
FROM zzdemo_uu112pingasrcdata
UNION
SELECT
rowid as txtname
,SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(fld005,'/'),'/',8),'/',-1) as txtvalu
FROM zzdemo_uu112pingasrcdata
UNION
SELECT
rowid as txtname
,SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(fld005,'/'),'/',9),'/',-1) as txtvalu
FROM zzdemo_uu112pingasrcdata
UNION
SELECT
rowid as txtname
,SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(fld005,'/'),'/',10),'/',-1) as txtvalu
FROM zzdemo_uu112pingasrcdata
) as tta
WHERE 1
AND (txtvalu is not null)
AND (txtvalu <> '')
;;;
- ,
- this solution requires an end separator at the end of the line with delimiters, otherwise it will not give the desired result
- this approach is not aesthetic, it will hurt some eyes and it will hurt some feelings