SELECT * FROM `pedigrees` WHERE `sire`=733 AND `dam`=731
public function getSiblings(){
$sibling = Pedigrees::find()
->where(['sire' => 'sire', 'dam' => 'dam'])
->all();
return $sibling;
->where(['sire' => '733', 'dam' => '731'])
public function getSiblings(){
$sire = Pedigrees::find()->where(['LIKE', 'sire', $this->sire])->all();
$dam = Pedigrees::find()->where(['LIKE', 'dam', $this->dam])->all();
$sibling = Pedigrees::find()
->where(['sire' => $sire, 'dam' => $dam])
->all();
return $sibling;