for example this is my data

```
info
----
id   name     eating                 andSaying
---  ----     ------                ---------
 1    aman     mango with sister    amanzing mango
 2    ramesh   mango via mouth      wow its really good
 3    aman     guava with jimmy     yoyo
 4    ramesh   pineapple            yummy

```

Now i want a single query where i can fetch those rows who is having common `eating value (table name eating)` for example where name is aman and ramesh who is having same eating then show the rows

```
    info
    -----
     id   name     eating     andSaying
     ---  ----     ------     ---------
      1    aman     mango with sister    amanzing mango
      2    ramesh   mango via mouth      wow its really good

```

i have tried this query but it is NOT Working

```
SELECT * 
FROM info a1
JOIN info a2
  ON a1.name!= a2.name
  AND a1.eating (get first array before "space"mango ) = a2.eating(get first array before "space" mango )

```

How to get the two rows if eating on first letter is same?

it should reflect two rows like this

```
  info
        -----
         id   name     eating     andSaying
         ---  ----     ------     ---------
          1    aman     mango with sister    amanzing mango
          2    ramesh   mango via mouth      wow its really good

```